Sample apache virtual host

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
   
   
-
 
+
<pre>
  <VirtualHost 123.456.175.37:80>
  <VirtualHost 123.456.175.37:80>
   ServerName foobar..umdl.umich.edu
   ServerName foobar..umdl.umich.edu
Line 22: Line 22:
   </Directory>
   </Directory>
  </VirtualHost>
  </VirtualHost>
 +
</pre>

Revision as of 13:03, 28 August 2007

 <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