rewrite rule custom.php to custom.css

od3n nginx-forum at nginx.us
Wed Jan 4 14:41:26 UTC 2012


it's not redirect. i have .php file, but no .css file.

if in apache, rewrite rule is like this :

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteRule custom.css custom.php [L,QSA]
</IfModule>

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,220792,220794#msg-220794



More information about the nginx mailing list