HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Apache Rewrites (http://www.howtoforge.com/forums/showthread.php?t=1556)

doof205 6th December 2005 12:36

Apache Rewrites
 
I'm trying to get apache to redirect users going from:

https://www.xxxxxxxxx.com/cgi/texis/...earch?db=iplaw

to: http://g-search.xxxxxxxx.com/

I'm using the following to do it:

RewriteRule ^/cgi/texis/webinator/search(.*) http://g-search.xxxxxxx.com

But unfortunately it always seems to leave the ?db=iplaw on the end so i get this:

http://g-search.xxxxxx.com/?db=iplaw

Anyone got any ideas on this one? It'd be much appreciated!!

Lewis.

falko 6th December 2005 14:15

Did you have a look here? http://httpd.apache.org/docs/1.3/misc/rewriteguide.html


All times are GMT +2. The time now is 02:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.