Pony.fm/public/.htaccess

24 lines
623 B
ApacheConf
Raw Normal View History

2013-07-25 16:33:04 -05:00
<IfModule mod_rewrite.c>
2015-08-30 12:22:00 +01:00
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
2013-07-25 16:33:04 -05:00
2015-08-30 12:22:00 +01:00
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
2013-08-01 03:57:08 -05:00
2015-08-30 12:22:00 +01:00
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
2015-08-31 16:31:45 +01:00
2015-10-24 19:35:37 -07:00
RewriteRule ^(.*\.(?:coffee))$ /asset.php?type=coffee&file=/$1 [L,QSA,NC]
RewriteRule ^(.*\.(?:less))$ /asset.php?type=less&file=/$1 [L,QSA,NC]
2015-08-30 12:22:00 +01:00
</IfModule>
2015-08-31 16:31:45 +01:00
<IfModule xsendfile_module>
2015-10-24 19:35:37 -07:00
XSendFile On
</IfModule>