Index

Secure Web Servers (SSL/https)

  • The departmental web servers support SSL connections (and thus the https protocol). The corresponding web pages must be located in the
    /cw/wwwserver/extern/ssl_html
    /cw/wwwserver/intern/ssl_html
    directories and are being served as
    https://www.cs.kuleuven.be/
    https://iwww.cs.kuleuven.be/
  • Your personal directory and web pages can be served via https as well. As a matter of fact, the exact same personal directories that are used by/for the normal http web server, are being used/served by the https web server as well.
    /home/yourloginname/intern_html =>
      https://iwww.cs.kuleuven.be/~yourloginname/...

    /cw/wwwserver/extern/people/firstname.lastname/public_html =>
      https://people.cs.kuleuven.be/~firstname.lastname/...
  • Also the research group web pages are accessible via both http and https. As you can see in the directory where these pages are stored (cfr. above), the ssl_html is a symbolic link to the public_html. This means that if a research group sees a need to keep http and https apart, it is easy to do so, but then of course the https document root is really separate from the http document root. You can however configure a directory to be only accessible via https ... see below.

  • You therefore have a choice: you can serve web pages from your personal directory and from your research group web directory either via the normal http web server or via the https web server.
    • By default, they are served by both
    • You can enforce the use of https (and thus deny the use of http) by putting the configuration directive SSLRequireSSL in the .htaccess file in the directory you want to restrict.
    • You can enforce the use of http (and thus deny the use of https, but why would you want to to that ;-) by putting the configuration directive SSLRequire false in the .htaccess file in the directory you want to restrict.
    • If you put both directives in the same .htaccess, you deny all access ;-)