<html><head></head><body>Nginx does not support .htaccess files. You need to add the rewrite rules to the server configuration and reload nginx.<br><br><div class="gmail_quote"><br>
<br>
alex1950 &lt;nginx-forum@nginx.us&gt; schrieb:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="white-space: pre-wrap; word-wrap:break-word; ">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: <a href="http://forum.nginx.org/read.php?2,190338,190358#msg-190358">http://forum.nginx.org/read.php?2,190338,190358#msg-190358</a><hr />nginx mailing list
nginx@nginx.org
<a href="http://nginx.org/mailman/listinfo/nginx">http://nginx.org/mailman/listinfo/nginx</a>
</div></blockquote></div></body></html>