Edit History Actions Discussion

Diff for "Howto/Webpage"

Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2006-07-28 19:54:59
Size: 472
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:
{{{
mkdir public_html}}}
You can view the website at http://shell.blinkenlights.se/rhea/~username
Remember that the webserver has to have read access to the files!
PHP or CGI is not allowed at this time. You can however use SSI to do some basic inclusion etc.
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"]
----
 . CategoryHowto

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"]