For students with a CIP-Pool ID, the FIM offers (within the framework of the CIP user guidelines) to operate their own study-related websites. Please note the current guidelines for web design, which are currently limited to placing name and e-mail address on each page.
The public_html folder in your home directory serves as storage space for the HTML pages and files. Make sure that it has the necessary rights. You can also create as many subfolders as you like, but you have to provide them with the right permissions.
Attention: Everything in public_html is part of your quota!
<user>@<computer>:~/> chmod o+x ~; chmod o+rx ~/public_html
<user>@ calculator>:~/> ls -ld
drwx-----x 11 <user> general 1536 Nov 27 19:09 /home/<user>/ <user>@<computer>:~/> ls -ld ~/public_html
drwx--xr-x 14 <user> general 1024 Nov 23 20:15 /home/<user>/public_html/
The URL to their web presence is: students.fim.uni-passau.de/~benutzer/
If a browser tries to access this URL, it first searches for an index.html and tries to deliver it to the web browser. You can change this behavior with the entry DirectoryIndex in your .htaccess file.
In the .htacces file, which you have to create for each new directory, you can place special instructions for the web server.
For example, if you don't want the contents of a directory to be listed, you must add the line
in the corresponding .htacces file. If you already have your own website, you can create a new one with the
Redirect /~user/ example.com/
Forward your student website to the domain example.com
More about the possibilities of a .htaccess file can be found at de.selhtml.org
The web server of the FIM is configured so that you can dynamically create the content of your web pages using PHP or Perl. Our web server is currently configured to execute user scripts if you put them in a cgi-bin subdirectory of public_html.
Currently, PHP is installed in version 5.1.6 with a few extensions (which are these in detail, you can ask with the function phpinfo()) and Perl in version 5.8.8. In order for the web server to send the website to the PHP interpreter before delivery, the file must have the extension .php.
Avoid symbolic links in the file tree of your web directory. Proxies could cache these files under different names, which could lead to problems with the accessibility of your web presence.