Index

Your Personal Directory and Personal Web Pages

  • Your personal web pages you want to have served by the internal web server, must be located in the intern_html (sub-)directory in your (usual) home directory
    /home/yourloginname/intern_html/
    The URL for these web pages is
    http://iwww.cs.kuleuven.be/~yourloginname/...

    Remember: the internal web server is only accessible from within cs.kuleuven.be networks.

  • On the external web server there is a personal directory for each user, accessible via
    /cw/w3people1/firstname.lastname/

    If this directory does not yet exist, ask the helpdesk to create it.

  • The web pages you want to have served by the web server, must be located in the public_html (sub-)directory in this personal directory. The URL for these web pages is
    http://people.cs.kuleuven.be/~firstname.lastname/...
  • Remember that everything you put in this public_html directory, is being served to the whole world by the web server (unless you protect it by means of a .htaccess mechanism).
  • If you have files which you do not want to be served by the web server, but which must be accessible to it (e.g. executables called by or data files used by CGI scripts or password files for the .htaccess mechanism), you can put them in another (sub-)directory of your personal directory.
  • To make it easier for you to protect such files, 2 directories are provided in your personal directory:
    • /cw/w3people1/firstname.lastname/private
    • /cw/w3people1/firstname.lastname/public_html/private
    These directories are only accessible to yourself and the web service. In this way, you can put files in them that only need/can be read by yourself and the web service. The first directory should contain files that need to be accessible to the web service but shouldn't be served as web page (e.g. files containing passwords or other sensitive configuration/information). The second directory should contain files that you only want to be accessible via the web service, not via NFS or so (e.g. files that you protect via some way of web authentication or for which you want exact authorization or access statistics, ...)
    You can read more about how to use these private directories to your advantage on this page.
  • If you are used to the public_html directory in your home directory, you can easily make a link to that personal directory in your home directory; the following command will do the job nicely :
  • ln -s /cw/w3people1/firstname.lastname/public_html ~/
  • Take care to distinguish between your external and your internal web pages. You can, however, combine both by executing :
    ln -s /cw/w3people1/firstname.lastname/public_html ~/intern_html

    This will make a link such that both the internal and external web servers serve the same files/pages.
    Make sure however, that the pages do work as expected on both servers !
    And this will of course make all pages available on both the internal and the external web server ... maybe not what you intended in the first place ?!

  • Do not forget to register/update your personal URL (in your personal communication data) in K.U.Loket as well.
    Last time we looked, help with K.U.Loket was available here ... there is also a help button/function once you are logged in.
In 2016 whe migrated the people directories more information can be found here. For more information take a look here.