DLXS Virtual Host Example

Example Apache virtual host configuration

<VirtualHost 192.168.15.37:80>

ServerName dlxs.somewhere.edu

DocumentRoot /usr/local/dlxs/web
ScriptAlias /cgi/ /usr/local/dlxs/cgi/

SetEnv DLXSROOT /usr/local/dlxs
# optional
SetEnv DLXSDATAROOT /usr/local/dlxs8
SetEnv REMOTE_USER user01
SetEnv USERID user01
UnsetEnv DLPS_DEV
# optional
SetEnv DLPS_DEV user01


<Directory /usr/local/dlxs/cgi/b/bib>
SetEnv AUTHZD_COLL :amverse-bib:samplebc:
SetEnv PUBLIC_COLL :
</Directory>

<Directory /usr/local/dlxs/cgi/i/image>
SetEnv AUTHZD_COLL :
SetEnv PUBLIC_COLL :sampleic:workshopic:
</Directory>

<Directory /usr/local/dlxs/cgi/t/text>
SetEnv AUTHZD_COLL :moajrnl:moa:sampletc:workshoptc:
SetEnv PUBLIC_COLL :
</Directory>

<Directory "/usr/local/dlxs/cgi/c/collmgr">
AuthName "DLXS collection management"
AuthType Basic

AuthUserFile conf/htpasswd.dlxs

Require user dlxsadm
</Directory>
</VirtualHost>