Quote:
Originally Posted by Phornixx
EDIT: I use mac and OS X does not show .htacces files, could you put the htacces like .txt file? I've managed to upload it but would be good if you ad the txt file.
|
here it is the .htaccess
Code:
RewriteEngine On
####Charset
AddDefaultCharset Off
####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)(js|css)$ redir.php?file=$1$2&type=$2 [L]
</IfModule>
####ETags
FileETag None
####Expires
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
</IfModule>