Nginx does not support .htaccess files. You need to add the rewrite rules to the server configuration and reload nginx.
alex1950 <nginx-forum@nginx.us> schrieb:
rewrite /test-(.*)\.htm$ /inc/tesmodrewite.php?q=test_$1; rewrite /test2-(.*)\.htm$ /inc/tesmodrewite.php?q=test_$1; rewrite /pm-(.*)\.(jpg|png|gif|html)$ /index.php?pm=$1; rewrite /pt-(.*)\.(jpg|png|gif|html)$ /index.php?pt=$1; rewrite /dt-(.*)\.(jpg|png|gif)$ /index.php?dt=$1; rewrite /dm-(.*)\.(jpg|png|gif)$ /index.php?dm=$1; rewrite /di-(.*)\.(jpg|jpeg|png|gif|bmp)$ /index.php?di=$1; rewrite /page(.*)\.html$ /gallery..php?p=$1; i added this in my htaccess file but not working ! :( * debug log is your friend ( how can i Create or Access to that ? ) Note : I'm Root Access ! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,190338,190358#msg-190358_____________________________________________
nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx