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 “~/www/info.html”, it would be accessible from the URL:

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

The www.eecs.yorku.ca web server does not have any special privileges on the system. As such, you must give it access to read any files that you wish to publish on the web. To do this:
You must have the “x” bit turned on for “others” on your home directory and your www directory, e.g.

  chmod o+x $HOME $HOME/www


  This bit is turned on by default when your account is initially created.
  You must have the "r" bit turned on for "others" on any file you wish to publish on the web. Given the "info.html" example above: \\
  chmod o+r $HOME/www/info.html


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.1485360423.txt.gz · Last modified: 2017/01/25 11:07 by seela