Created
September 17, 2013 17:48
-
-
Save gzankevich/6597959 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost foo:80> | |
ServerName foo.com | |
DocumentRoot "/home/default/test.foo.com/user/htdocs" | |
RewriteEngine on | |
RewriteMap lc int:tolower | |
RewriteCond %{REQUEST_URI} [A-Z] | |
RewriteRule (.*) ${lc:$1} [R=301,L] | |
<Location /> | |
Options +Includes | |
</Location> | |
<Directory "/home/default/test.foo.com/user/htdocs"> | |
AllowOverride All | |
Allow from all | |
</Directory> | |
</VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment