Programming Tips
Directory Layout
Your home directory on the Web Server will be slightly different from what it
is on the other machines. It will have your fileserver's name as the first
directory component. If your home directory is on armstrong.cse.buffalo.edu
and is "/u0/visitors/kns" then on hobson it will be
"/armstrong/u0/visitors/kns".
For the most part this should not matter but if you need to give full pathnames
to files in your scripts for some reason you will need to keep this in mind.
The other place it will matter is as pathnames in ".htaccess" files if
you decide to use those to restrict access to pieces of your Web Site.
The regular "/web" filesystem that every other machine in the Department
sees is not accessible from this machine.
Web Server Log Files
The Web Server's Log Files are in "/var/local/apache/logs" on the Web Server
machine itself (hobson.cse.buffalo.edu). Most errors go in "error_log" so that
is where you will most likely find useful information if something you thought
should work does not.
|