Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-08-2010, 11:32 AM   #1
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
Old 04-08-2010, 11:34 AM   #2
dodger21
Confirmed User
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 2,680
and unfortunately redirect to a php script isnt an option for this. requirements are this has to be done through rewrites
__________________
icq: 237055440
dodger21 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-08-2010, 11:40 AM   #3
fatfoo
ICQ:649699063
 
Industry Role:
Join Date: Mar 2003
Posts: 27,763
Quote:
Originally Posted by dodger21 View Post
I get 404:Page Not Found when clicking this link.
__________________
Send me an email: [email protected]
fatfoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-08-2010, 12:23 PM   #4
seoguyzzz
Confirmed User
 
Join Date: Sep 2009
Posts: 997
Quote:
Originally Posted by dodger21 View Post
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

i can fix this. hitting u up on icq
__________________
icq:- 563619491


article submissions + directory submissions
seoguyzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.