Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName localhost
  3. FastCGIExternalServer /var/www/localhost/cgi-bin/ws -host 127.0.0.1:2000
  4. Alias / /var/www/localhost/cgi-bin/ws
  5. DocumentRoot /var/www/localhost/cgi-bin/
  6. <Directory /var/www/localhost/cgi-bin/>
  7. SetHandler fastcgi-script
  8. Options +ExecCGI
  9. Options +FollowSymLinks
  10. AllowOverride All
  11. Order allow,deny
  12. Allow from all
  13. </Directory>
  14. </VirtualHost>
  15.  
  16. RewriteEngine On
  17. RewriteCond %{REQUEST_FILENAME} -s [OR]
  18. RewriteCond %{REQUEST_FILENAME} -l [OR]
  19. RewriteCond %{REQUEST_FILENAME} -d
  20. RewriteRule ^.*$ - [NC,L]
  21. RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::$
  22. RewriteRule ^(.*)$ - [E=BASE:%1]
  23. RewriteRule ^(.*)$ %{ENV:BASE}wc [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement