| Access Permissions | Logical Site Layout | Phyical Site Layout | Glossary |
The web server runs as a special user, wwwuser
, which has
minimal privileges. Because of this, any files or directories in the
server's document root must have their permissions
set in a particular way.
Directories must have at least world execute permission set (i.e.
chmod o+x
). This is so the web server can access any files in
that directory.
The directory does not need to have any read permissions set, as
the server does not need to list the contents of the directory; it only
accesses specifically named files within it.
Files must have at least world read permission set
(i.e. chmod o+r
). This is so the web server can read the contents
of any given file.
The logical layout of the site (i.e. from the document root) is as follows:
/people/
staff/
rpg/
tpg/
ug/
student_resources/
/research/group/
cur
.
aii/
compedu/
crg/
netdist/
sse/
tcs/
/pubs/
/tours/
tour_frameworks/
/dept_info/
documentation/
/national/
There are other directories in the document root that you shouldn't need to worry about:
/search/
/buttons/
#buttons
mechanism.
/icons/
/images/
/styles/
house.css
, but with the provision for supporting more in the future.
This section describes the physical layout of the site -- information that will help you in creating your own web pages for the CSWeb site.
Note that only directories relevant to the page creation process are described.
The web server's file root is at /web/cs
on metis (and
on myrtle, where it is NFS mounted), which is where the following
directories may be found.
bin/
docs/
For example, if you wish to update web pages in the TCS research group's
area, you'll find them in the directory named /web/cs/docs/research/groups/tcs/
.
The TCS business card web page can be found on the web at http://www.cs.kent.ac.uk/research/groups/tcs/index.html
and http://www.cs.kent.ac.uk/research/groups/tcs/index.local
.
includes/
#include
control).
man/
templates/
public-logs/
The document root of a web server is the root directory of the server's web
space (rather than its file space). For the CSWeb server, the document root
(http://www.cs.kent.ac.uk/
) maps to /web/cs/docs/ on the Unix host's
file space.
The name given to the home page belonging to either:
~/webpages/index.*
),
or
/web/cs/docs/research/groups/<group_name>/index.*
,
where <group_name>
is the abbreviated name (or directory
name) of a research group. E.g. tcs = "Theoretical Computer Science").