Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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