Welcome! Log In Create A New Profile

Advanced

please convert this .htaccess to NGINX Rewrite

February 18, 2011 11:42AM
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
could somebody convert this .htaccess to NGINX rewrite,,??

<IfModule mod_headers.c>
<FilesMatch "\.(gif|jpg|png|css|swf)$">
Header set Cache-Control "max-age=29030400"
</FilesMatch>
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A604800
ExpiresByType text/css A604800
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType application/x-shockwave-flash A604800
</IfModule>

if u could help me, i'll be glad and u're the best !
thx
Subject Author Posted

please convert this .htaccess to NGINX Rewrite

escavern February 18, 2011 11:42AM

Re: please convert this .htaccess to NGINX Rewrite

escavern February 19, 2011 08:23PM

Re: please convert this .htaccess to NGINX Rewrite

kaspars February 20, 2011 08:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready