Sample apache virtual host

From DLXS Documentation

Revision as of 13:03, 28 August 2007 by Tburtonw (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


<VirtualHost 123.456.175.37:80>
 ServerName foobar..umdl.umich.edu
 ServerAlias foobar foobar.foobar.umdl
 DocumentRoot          /l1/foobar/web
 ScriptAlias   /cgi/   /l1/foobar/cgi/
 SetEnv DLXSROOT       /l1/foobar
 SetEnv DLXSDATAROOT   /l1
 SetEnv DLPS_DEV       my_usernamefoobar
 SetEnv REMOTE_USER    my_username
 <Directory "/foobar/cgi/c/collmgr">
   AuthName "DLXS collection management"
   AuthType Basic
   AuthUserFile conf/htpasswd.dlxs
   Require valid-user
 </Directory>
</VirtualHost>
Personal tools