Pony.fm/public/.htaccess

24 lines
623 B
ApacheConf
Raw Normal View History

2013-07-25 23:33:04 +02:00
<IfModule mod_rewrite.c>
2015-08-30 13:22:00 +02:00
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
2013-07-25 23:33:04 +02:00
2015-08-30 13:22:00 +02:00
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
2013-08-01 10:57:08 +02:00
2015-08-30 13:22:00 +02:00
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
2015-08-31 17:31:45 +02:00
2015-10-25 03:35:37 +01: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 13:22:00 +02:00
</IfModule>
2015-08-31 17:31:45 +02:00
<IfModule xsendfile_module>
2015-10-25 03:35:37 +01:00
XSendFile On
</IfModule>