Creating a Home Page

At CMU, it's easy. Just put your information in AFS and make it publicly readable.

  • Get an AFS account
    	echo Please give me an AFS account | mail -s "AFS account" help@cs
    
  • Create a top-level www directory
    	mkdir /afs/cs/usr/MYNAME/www
    
  • Copy a friend's home page, generate one using a tutorial, or use your favorite editor to start from scratch.
    	cp /afs/cs/usr/mdwheel/www/mdw.html /afs/cs/usr/MYNAME/home.html
    
  • Give it a simple name, you'll get tired of typing it
    	home.html  or  index.html
    
  • Make it readable to AFS users
    	fs sa /afs/cs/usr/MYNAME system:anyuser l	[or rl]
    	fs sa /afs/cs/usr/MYNAME/www system:anyuser rl
    
  • Make it HTTPD readable
    	cat > /afs/cs/usr/MYNAME/www/.htaccess <<END
    	<Limit GET>
    	order deny,allow
    	allow from all
    	</Limit>
    END
    
  • Add it to the CMU White Pages index
    	echo www/home.html > /afs/cs/usr/MYNAME/.www.home.url
    

  • VASC'94 Retreat -- mwm@cmu.edu