DLXS Virtual Host Example

Example Apache virtual host configuration

<VirtualHost 141.211.000.00:80>

ServerName somewhere.dlxs10.edu

DocumentRoot /usr/local/dlxs10/web
ScriptAlias /cgi/ /usr/local/dlxs10/cgi/

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


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

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

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

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

AuthUserFile conf/htpasswd.dlxs

Require user dlxsadm
</Directory>
</VirtualHost>