Forum Moderators: phranque

Message Too Old, No Replies

Rewrite Rule Help

         

boxfan

3:46 pm on Apr 5, 2007 (gmt 0)

10+ Year Member



I have the following rule

RewriteRule ^images/cache/(.*)$ /images/image.php?src=$1 [L]

When I go to

[domain.com...]

I get a 404 error. Looking in the apache error logs I get

/home/public_html/image.php does not exist

It looks like the rule is rewriting the url and not including /images/ in the url.

Any idea what's wrong?

boxfan

4:01 pm on Apr 5, 2007 (gmt 0)

10+ Year Member



Nevermind, I got it.

Thanks

g1smd

12:17 am on Apr 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



And the answer was....?

For the next person having a similar problem.