Created
August 6, 2011 13:13
-
-
Save MikePearce/1129317 to your computer and use it in GitHub Desktop.
leedshack
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 characters
<VirtualHost *:80> | |
ServerName leedshack.dev | |
DocumentRoot /Users/mikeypearce/Sites/leedshack/public | |
<Directory "/Users/mikeypearce/Sites/leedshack/public"> | |
Options FollowSymLinks | |
#RewriteEngine On | |
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f | |
#RewriteRule ^(.*)$ /Users/mikeypearce/Sites/leedshack/public/index.php [L] | |
Options FollowSymLinks | |
AllowOverride FileInfo | |
RewriteEngine On | |
RewriteCond $1 !^(index\.php|css|img|fckeditor|scripts|js|robots\.txt|favicon\.ico) | |
RewriteRule ^(.*)$ /index.php/$1 [L] | |
</Directory> | |
# compress all text & html: | |
#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment