Creating a personal web page that can be accessed by the SENS web servers involves making a directory named "public_html" under your Engineering home directory and putting a file named "index.html" in it. A script named "mkengpage", which was modified from the CIT "mkhomepage" script, can be used to do this; after running it, the file "index.html" can be edited to suit your needs.
Once your page is created, it can be accessed using a URL such as this for users with Engineering accounts:
http://www.eng.buffalo.edu/~usernameOr by using a URL like this for users with NS&M accounts:
http://www.nsm.buffalo.edu/~usernameIn either example, substitute "username" for your UNIX login name.
Please Note: Your home directory must be set for world execute access, using a command such as "chmod 711 ~", so that the server can access your "public_html" page. If you did this correctly, the command "ls -ld ~" should show something like this:
drwx--x--x 11 jdoe easdue 512 Mar 6 10:11 /eng/home/nobodyor, if you have an NS&M account:
drwx--x--x 11 jdoe easdue 512 Mar 6 10:11 /nsm/home/nobody
Also, your "public_html" directory must be world-readable and world-executable so that the web server software can access files in it. To do this, use a command such as "chmod 755 public_html". If you did this correctly, the command "ls -ld ~/public_html" should show something like this:
drwxr-xr-x 11 jdoe easdue 512 Apr 25 09:12 /eng/home/nobody/public_htmlor, if you have an NS&M account:
drwxr-xr-x 11 jdoe easdue 512 Apr 25 09:12 /nsm/home/nobody/public_html
Finally, all files under your "public_html directory must be world-readable; typing "ls -l" inside your "public_html" directory should show something like this:
-rw-r--r-- 1 jdoe easdue 11345 Apr 25 09:12 index.html
The staff of SENS can not provide help or consultation with respect to creating personal web pages; this service is being provided only as a courtesy. We will, however, support issues related to the web server itself.
The CIT User Services Group offers workshops on how to create web pages. Check this UB Wings page for more information (look for "Using HTML to Create a Home Page/PCs").