Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UseCanonicalName Off
- LogFormat "%{Host}i %h %l %u %t \"%r\" %s %b" vcommon
- CustomLog logs/access_log vcommon
- <Directory /home>
- Options FollowSymLinks ExecCGI
- AllowOverride All
- </Directory>
- RewriteEngine On
- #RewriteLog /home/kenneth/log_rewrite
- #RewriteLogLevel 4
- RewriteCond %{REQUEST_URI} !/home/kenneth/www
- RewriteCond %{REQUEST_URI} !^/icons/
- RewriteCond %{REQUEST_URI} !^/cgi-bin/
- RewriteCond %{HTTP_HOST} ^(?:www\.)?(.*)$ [NC]
- RewriteRule ^/(.*)$ /home/kenneth/www/%1/public/$1
- RewriteCond %{REQUEST_URI} !/home/kenneth/www
- RewriteCond %{REQUEST_URI} ^/cgi-bin/
- RewriteCond %{HTTP_HOST} ^(?:www\.)?(.*)$ [NC]
- RewriteRule ^/(.*)$ /home/kenneth/www/%1/cgi-bin/$1 [T=application/x-httpd-cgi]
Add Comment
Please, Sign In to add comment