I think something using try_files but I dont really understand the rewritecond<br><br><div class="gmail_quote">On Sun, Oct 31, 2010 at 11:39 PM, dong <span dir="ltr">&lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Okay...<br>
[code]rewrite ^/cat([0-9]*)\.htm$ index.php?c=$1;<br>
rewrite ^/(forum|.*-vf)([0-9]+)-([0-9]+),([0-9]+)\.htm$<br>
viewforum.php?f=$2&amp;topicdays=$3&amp;start=$4;<br>
rewrite ^/(forum|.*-vf)([0-9]+),([0-9]+)\.htm$<br>
viewforum.php?f=$2&amp;start=$3;<br>
rewrite ^/(forum|.*-vf)([0-9]+)\.htm$ viewforum.php?f=$2;<br>
rewrite ^/prev_topic/([0-9]+)\.htm$ viewtopic.php?t=$1&amp;view=previous;<br>
rewrite ^/next_topic/([0-9]+)\.htm$ viewtopic.php?t=$1&amp;view=next;<br>
rewrite<br>
^/(topics[0-9]*/)?(.*-vt)?([0-9]+)-([0-9]+)-([a-zA-Z]+),([0-9]+)\.htm$<br>
viewtopic.php?t=$3&amp;postdays=$4&amp;postorder=$5&amp;start=$6;<br>
rewrite<br>
^/(topics[0-9]*/)?(.*-vt)?([0-9]+)-([0-9]+)-([a-zA-Z]+)-([a-zA-Z0-9]+),([0-9]+)\.htm$<br>
viewtopic.php?t=$3&amp;start=$7&amp;postdays=$4&amp;postorder=$5&amp;highlight=$6;<br>
rewrite ^/(topics[0-9]*/)?(.*-vt)?([0-9]+),([0-9]+)\.htm$<br>
viewtopic.php?t=$3&amp;start=$4;<br>
rewrite ^/(topics[0-9]*/)?(.*-vt)?([0-9]+)\.htm$ viewtopic.php?t=$3;<br>
rewrite ^/postlink/([0-9]+)\.htm$ viewtopic.php?p=$1;<br>
rewrite ^/search\.htm/authors/(.+),([0-9]+)$<br>
search.php?search_author=$1&amp;start=$2;<br>
rewrite ^/search\.htm/([0-9a-z]+),([0-9]+)$<br>
search.php?search_id=$1&amp;start=$2;<br>
rewrite ^/search\.htm/([0-9a-z]+)$ search.php?search_id=$1;<br>
rewrite ^/members/([a-z]+)_([a-z]*)-([A-Za-z]+),([0-9]+)\.htm$<br>
memberlist.php?letter=$2&amp;mode=$1&amp;order=$3&amp;start=$4;<br>
rewrite ^/members(\.htm|/?)$ memberlist.php;<br>
rewrite ^/profiles/([0-9]+)\.htm$ profile.php?mode=viewprofile&amp;u=$1;<br>
rewrite ^/groups/?([0-9]*)(\.htm)?$ groupcp.php?g=$1;<br>
rewrite ^/groups/?$ groupcp.php;<br>
rewrite ^/sitemap,([0-9]+)\.htm$ sitemap.php?offset=$1;<br>
rewrite ^/topics([0-9]+)/?$ viewforum.php?f=$1.htm;<br>
rewrite ^/(topics|postlink|prev_topic|next_topic)/?$ index.php;<br>
rewrite ^/profiles/?$ memberlist.php;<br>
rewrite ^/(.+)\.htm(\?.*)? /$1.php$2;<br>
rewrite ^/(.+)\.php(\?.*)? /$1.htm$2;<br>
[/code]<br>
<br>
But I dont know how translate RewriteCond?<br>
<br>
And this rewrite dont working in 100%.<br>
<a href="http://www.landwirtschafts.net/cat4.htm" target="_blank">http://www.landwirtschafts.net/cat4.htm</a> - working<br>
<a href="http://www.landwirtschafts.net/portal.htm" target="_blank">http://www.landwirtschafts.net/portal.htm</a> - dont working<br>
<a href="http://www.landwirtschafts.net/index.htm" target="_blank">http://www.landwirtschafts.net/index.htm</a> - dont working<br>
<a href="http://www.landwirtschafts.net/members.htm" target="_blank">http://www.landwirtschafts.net/members.htm</a> - dont working<br>
<br>
How to fix it?<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,146186,146228#msg-146228" target="_blank">http://forum.nginx.org/read.php?2,146186,146228#msg-146228</a><br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://thewarezscene.org" target="_blank">Warez Scene</a> <a href="http://www.nexusddl.com" target="_blank">Free Rapidshare Downloads</a><br><br>