Edit History Actions Discussion

Diff for "Howto/Webpage"

Differences between revisions 3 and 8 (spanning 5 versions)
Revision 3 as of 2006-07-28 19:55:46
Size: 504
Comment:
Revision 8 as of 2008-01-03 00:14:03
Size: 870
Comment: updated old info
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 own personal website on Blinkenshell. Just put your 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 displayed instead.
Line 8: Line 6:
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/` ( http://titan.blinkenshell.org/~username` and `http://blinkenshell.org/titan/~username` also works.)
Line 10: Line 8:
You can however use SSI to do some basic inclusion etc. PHP, SSI and CGI are available.
Line 12: Line 10:
To make use of CGI-scripts, you have to make a directory named `cgi-bin` in your `public_html` folder and put your scripts there. The scripts should be readable and executable by everyone, but not writeable (otherwise you will get "Internal Server Error".)

["Info/MySQL"]

Howto: Webpage

You can host your own personal website on Blinkenshell. Just put your 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 displayed instead.

You can view your website at http://<username>.blinkenshell.org/ ( http://titan.blinkenshell.org/~username` and http://blinkenshell.org/titan/~username also works.)

PHP, SSI and CGI are available.

To make use of CGI-scripts, you have to make a directory named cgi-bin in your public_html folder and put your scripts there. The scripts should be readable and executable by everyone, but not writeable (otherwise you will get "Internal Server Error".)

["Info/MySQL"]