Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created May 22, 2014 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eminetto/bf8732061ce24fb2335f to your computer and use it in GitHub Desktop.
Save eminetto/bf8732061ce24fb2335f to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
DocumentRoot "/var/www/html/ufun"
ServerName ufun.coderockr.com
SetEnv APPLICATION_ENV "development"
<Directory "/var/www/html/ufun">
Options Indexes Multiviews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
<Limit GET HEAD POST PUT DELETE OPTIONS>
Order Allow,Deny
Allow from all
</Limit>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule !\.(js|ico|gif|jpg|png|css|htm|html|txt|mp3)$ index.php
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment