To create a website URL such as http://groups.inf.ed.ac.uk/project-name

Here "project-name" just points at a bit of AFS file space, and any files (typically HTML) just appear on the web at that location. How the HTML is generated and managed is up to the user.

We have similar "workshops.inf", "events.inf", and "conferences.inf" URLs.

Create the group space as usual, then create a sub-dir called "html". Set the afs acl's so that both the top level and html dir are readable by the webserver.

  fs setacl /afs/inf.ed.ac.uk/group/project/<groupname> system:afswebservers rl
  fs setacl /afs/inf.ed.ac.uk/group/project/<groupname>/html system:afswebservers rl

Change unix ownership of the html sub-dir to root

  chown root /afs/inf.ed.ac.uk/group/project/<groupname>/html

On the groups.inf webserver, create a symlink in the appropriate groups/conferences/workshops/events directory under /disk/data/httpd

ln -s /afs/inf.ed.ac.uk/group/project/<groupname>/html <project-name>

-- JenniferOxley - 07 Mar 2014

Topic revision: r1 - 07 Mar 2014 - 14:38:07 - JenniferOxley
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies