User Tools

Site Tools


web:webpublish:start

This is an old revision of the document!


Web Publishing Pages

All local users may use our web server to publish pages. The directory “www” in your home directory corresponds to the URL:

http://www.eecs.yorku.ca/~name/

where name is your login name. Any file you place in this directory is accessible from this URL. For example if you create a file called “~name/www/info.html”, it would be accessible from the following URL:

http://www.eecs.yorku.ca/~name/info.html

The www.eecs.yorku.ca web server runs as a user “www”. It must be given access to read files that you wish to publish on the web. Your web folder must have the “execute” or “search” bit sit for “other”, and your file must be readable by other. For example:

chmod o+x $HOME $HOME/www
chmod o+r ~name/www/info.html

NOTE: The “execute” bit is set for “other” when your account is created.

If you are using CGI scripts you will also need to set permissions appropriately. See the CGI script documentation for more information on this.

web/webpublish/start.1485791152.txt.gz · Last modified: 2017/01/30 10:45 by jas