Created
October 12, 2012 21:31
Revisions
-
Stefano Sala created this gist
Oct 12, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ <VirtualHost *:80> ServerName dev ServerAlias *.dev DocumentRoot /Users/stefanosala/Sites SetEnv LocalDev true RewriteEngine on RewriteCond %{HTTP_HOST} !^www.* [NC] RewriteCond %{HTTP_HOST} ^([^\.]+)\.dev RewriteCond /Users/stefanosala/Sites/%1.dev/web -d RewriteRule ^(.*) /%1.dev/web/$1 [L] RewriteCond %{HTTP_HOST} !^www.* [NC] RewriteCond %{HTTP_HOST} ^([^\.]+)\.dev RewriteCond /Users/stefanosala/Sites.dev/%1 -d RewriteRule ^(.*) /%1.dev/$1 [L] <Location /> SetInputFilter DEFLATE </Location> </VirtualHost>