View Single Post
Old 04-08-2010, 11:32 AM  
dodger21
Confirmed User
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 2,680
help with mod_rewrite

the following removes question marks from url

RewriteCond %{QUERY_STRING} ^(?!(?:ads|open-id))(.+)$
RewriteCond %{REQUEST_URI} !^server-status?auto$
RewriteRule ^$ /%1? [R=301,L]



first line works. all queries get their ? striped except for those containing ads or open-id .question mark stays for those
second line doesnt. i need http://www.site.com:80/server-status?auto to be completely ignored and left the way it is

where am i going wrong here?

hit me up on icq. $$$ for the solution 237055440
__________________
icq: 237055440
dodger21 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote