Sample apache virtual host
From DLXS Documentation
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | See also the file $DLXSROOT/bin/installer/config-examples/httpd.conf.dlxs in your installation of dlxs. | |
+ | |||
+ | |||
<pre> | <pre> | ||
<VirtualHost 123.456.175.37:80> | <VirtualHost 123.456.175.37:80> |
Revision as of 13:08, 28 August 2007
See also the file $DLXSROOT/bin/installer/config-examples/httpd.conf.dlxs in your installation of dlxs.
<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>