JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
disable another apache "feature" that breaks mod_rewrite
[wfpl-cms.git] / .htaccess
1 php_value post_max_size 25M
2 php_value upload_max_filesize 20M
3 php_flag register_globals off
4 php_flag magic_quotes_gpc off
5 Options -MultiViews
6 DirectorySlash Off
7 DirectoryIndex disabled
8 AddDefaultCharset UTF-8
9 RewriteEngine  on
10 RewriteRule    ^[^/.]*$  /run.php [L]
11 RewriteRule    ^style_[0-9]*.css$  /style.css [L]
12 RewriteRule    ^style_[0-9]*.less$  /style.less [L]
13
14 <FilesMatch "\.(css|jpg|png)$">
15         ExpiresActive On
16         ExpiresDefault A31536000
17 </FilesMatch>