Edit History Actions Discussion

Diff for "Howto/Webpage"

Differences between revisions 3 and 7 (spanning 4 versions)
Revision 3 as of 2006-07-28 19:55:46
Size: 504
Comment:
Revision 7 as of 2007-03-11 16:25:30
Size: 518
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
You can host your personal website at the shellserver. Create the directory "public_html" in your home directory and put your files in there. You can do this with the following command: You can host your personal website at the shell. Just put the files in ~/public_html (this is a symlink to /var/www/users/username).
Line 4: Line 4:
{{{
mkdir public_html}}}
You can view the website at http://shell.blinkenlights.se/rhea/~username
If you want a page to be served when the user asks for a direcory, name it index.html, index.htm or index.php
If you have none of these files, a directory listing will be used instead.
Line 8: Line 7:
Remember that the webserver has to have read access to the files! PHP or CGI is not allowed at this time. You can view your website at `http://<username>.blinkenshell.org/`
Line 10: Line 9:
You can however use SSI to do some basic inclusion etc. PHP 5 and SSI is installed on the server. CGI is not allowed at the moment.

Howto: Webpage

You can host your personal website at the shell. Just put the files in ~/public_html (this is a symlink to /var/www/users/username).

If you want a page to be served when the user asks for a direcory, name it index.html, index.htm or index.php If you have none of these files, a directory listing will be used instead.

You can view your website at http://<username>.blinkenshell.org/

PHP 5 and SSI is installed on the server. CGI is not allowed at the moment.