blob: 9eb050431820e75ff884b6ab41bf0b49bcda0ce4 (
plain)
- RewriteEngine On
- RewriteRule /VIRTUAL/([^/]+) http://$1 [R]
- RewriteCond %{HTTP_HOST} ^rip$ [NC]
- RewriteRule / http://rip:631/ [R,L]
- RewriteCond %{HTTP_HOST} ^proxy$ [NC]
- RewriteRule / http://rip:8080/ [R,L]
- #UseCanonicalName DNS
- UseCanonicalName Off
- NameVirtualHost *
- <VirtualHost *>
- VirtualDocumentRoot /var/www/VIRTUAL/%0/www
- VirtualScriptAlias /var/www/VIRTUAL/%0/cgi-local
- <Location />
- Options +ExecCGI
- # AuthPAM_Enabled On
- </Location>
- <Files bos*.cgi>
- AuthType Basic
- AuthName BOS
- require group users
- </Files>
- </VirtualHost>
- <VirtualHost _default_>
- DocumentRoot /var/www
- ScriptAlias /cgi-local /var/www/cgi-local
- <Location />
- Options +ExecCGI
- # AuthPAM_Enabled On
- </Location>
- <Files bos*.cgi>
- AuthType Basic
- AuthName BOS
- require group users
- </Files>
- </VirtualHost>
|