Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName localhost
- FastCGIExternalServer /var/www/localhost/cgi-bin/ws -host 127.0.0.1:2000
- Alias / /var/www/localhost/cgi-bin/ws
- DocumentRoot /var/www/localhost/cgi-bin/
- <Directory /var/www/localhost/cgi-bin/>
- SetHandler fastcgi-script
- Options +ExecCGI
- Options +FollowSymLinks
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} -s [OR]
- RewriteCond %{REQUEST_FILENAME} -l [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^.*$ - [NC,L]
- RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::$
- RewriteRule ^(.*)$ - [E=BASE:%1]
- RewriteRule ^(.*)$ %{ENV:BASE}wc [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement