Skip to content
Snippets Groups Projects
Commit 44f6e33b authored by llaffont's avatar llaffont
Browse files

ajout htaccess / gitignore

parent b0565216
No related merge requests found
* text=auto !eol
/.htaccess -text
/COPYING -text
/INSTALL -text
/README -text
......
RewriteEngine on
RewriteRule !(userfiles|public|tmp|temp)/.*\.(js|ico|txt|gif|jpg|jpeg|png|css|xml|swf|mov|pdf|doc|docx|woff|eot|svg|ttf|xls|wsdl)$ index.php [NC]
php_flag magic_quotes_gpc off
php_flag register_globals off
AddType application/x-javascript .js
AddType text/css .css
AddType application/json .json
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header add "Cache-Control" "max-age=604800, public"
</FilesMatch>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment