blob: 19407156ea54e68733a2995adc1c5be7e41e5580 (
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 _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>
- <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>
|