20 lines
No EOL
391 B
ApacheConf
20 lines
No EOL
391 B
ApacheConf
|
|
AddType text/plain .md
|
|
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
RewriteCond %{REQUEST_URI} !^/?(static|raw)/.*
|
|
RewriteRule (.*) router.php
|
|
|
|
Allow from all
|
|
|
|
Options +Indexes
|
|
|
|
<filesMatch ".(flv|gif|ico|jpg|jpeg|mp4|mpeg|png|svg|swf|webp)$">
|
|
Header set Cache-Control "max-age=315360, public"
|
|
</filesMatch>
|
|
|
|
<filesMatch ".(js)$">
|
|
Header set Cache-Control "max-age=315360, public"
|
|
</filesMatch> |