We provide web hosting for personal and institutional home pages. All CIP users can upload a personal homepage. PHP is available.

The URL of your homepage is https://users.ph.tum.de/<Full Name or TUMid>. Your homepage is empty when your account is created.

Creating a webpage
If you want to upload a homepage please place it in the directory /WWW/users/<TUMid> on any CIP workstation or use \\nas.ph.tum.de\users\<TUMid>
from a Windows computer (from inside the department or with a VPN connection). Your front page should have the file name index.html.

You can also use SFTP to transfer files to /WWW/users/<TUMid>, please see the Transfering files between the CIP pool and your own computer section for details. (Theory group users: See here.)


Limiting access to certain directories
You can limit access from the internet to certain directories using the htaccess mechanism.
(The syntax has slightly changed, the old syntax is not accepted anymore by Apache 2.4!)

In the following example we show how to limit access to http://users.ph.tum.de/ <Full Name or TUMid> /secure.

  1. Create a file .htaccess in the directory  /WWW/users/ <TUMid> /secure/ with the following contents:
    AuthType Basic
    AuthName "Please enter your credentials"
    AuthUserFile /WWW/users/ <TUMid> /secure/.htpasswd
    <Limit GET POST>
    require valid-user
    </Limit>
  2. Make /WWW/users/ <TUMid> /secure/ your working directory and execute:
    htpasswd -c .htpasswd joe
    Enter the desired password.

From now on, http://users.ph.tum.de/ <Full Name or TUMid> /secure/  should only be accessible with the username joe and the password that you chose.

You can also restrict access by the domain name of the requesting client with the following code:

<Limit GET POST>
Require host ph.tum.de
Require ip 129.187
Require ip 10.152
Require ip 2001:4ca0:24f1::/48
</Limit>

This will limit the access to clients in the .ph.tum.de domains or the given IP ranges. Be advised that this kind of access protection is not very secure.

More information is provided in the Apache manual, http://httpd.apache.org/docs/current/howto/auth.html

  • Keine Stichwörter