Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Rewrite Rule Horrors

Quote Reply
Rewrite Rule Horrors
Hi there Smile

I'm in a bit of a pinch here...
I have created rewrite rules for a GLinks website that I moved recently. The rules concerning the pages in the www/ directory is working fine,
but the rules rewriting url's containing cgi-bin/ are not affected. Here are two examples:

Rule 1: directory/(.*) www.mysite.com/$1 [R=301,L]

Rewrites www.mysite.com/directory/Detail/34.html to www.mysite.com/Detail/34.html (this is working)

Rule 2: cgi-bin/smallmotor/(.*) www.mysite.com/cgi-bin/$1 [R=301,L]

Should rewrite www.mysite.com/cgi-bin/smallmotor/search.cgi to www.mysite.com/cgi-bin/search.cgi (not working - reports: The requested URL /cgi-bin/smallmotor/search.cgi was not found on this server.)

Any ideas of what is going on here?Unsure

Thank you


Sacrifice is not about what you lose,
it is about what you gain in the process.
Subject Author Views Date
Thread Rewrite Rule Horrors EZFrag 3377 Aug 21, 2008, 12:47 AM
Thread Re: [EZFrag] Rewrite Rule Horrors
brewt 3257 Aug 21, 2008, 1:06 AM
Post Re: [brewt] Rewrite Rule Horrors
EZFrag 3246 Aug 21, 2008, 1:33 AM