Pharmacy personal web pages - technical instructions

These instructions are for the technically-minded. They are not very explicit; they lay out the conditions under which the web server operates and allow you to work as you like within those conditions. These instruction assume you have a working knowledge of web pages and UNIX systems, at least at a user's level. If this is not the case, please try the basic instructions.

Web pages are hosted on the College of Pharmacy, Nursing, and Health Sciences file server, binder, with a virtual-host name of people.pharmacy.purdue.edu. binder is a Linux box, running SAMBA with full NTFS emulation. This makes things somewhat interesting. URLs are in the form http://people.pharmacy.purdue.edu/~username/, where username is the user's ONEPURUDE (career account) login.

There are three ways to put content on binder. You can map a drive in Windows Explorer (easiest way), SFTP files, or SSH to binder. When using SSH or SFTP, your username should be supplied as 'ONEPURDUE\username', or 'ONEPURDUE\\username' (note the double slash) if you are coming from a UNIX system.

Web content goes in a directory named www, located in the your home directory. Ownsership for your home directory should be owner = you, group = 'Domain Users'. Permissions for your home directory should be at least 711 to allow the web server to access your files.

Ownership of your web directory, for maximum security, should be owner you, group apache (the web server), with permissions 750. This will allow you to manage files in the www directory, allow the web server to see them and serve them, and keep everyone else out.

We are using an Apache web server. An online manual is available; our current version is Apache. Index file names for this system are index.html, index.htm and index.shtml, in that order. Directory listings are supplied when none of these files is provided. Filenames are case-sensitive. Users' accounts have the following configuration:

<Directory /home/*/www>
    AllowOverride AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    IndexOptions DescriptionWidth=* FancyIndexing FoldersFirst ScanHTMLTitles
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>
CGI support is not provided by default; contact the webmaster if you have special needs. SSI (server-side includes) are enabled by default on all files with extension .shtml; consult the online Apache documentation for instructions and information.