Sample apache virtual host
From DLXS Documentation
<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>