-1

My page has:

<img src="/?cp_contactformtoemail_captcha=captcha&a=1&b=2&c=image.jpg" id="captchaimg_1" alt="security code" border="0">

But it should be:

<img src="/INDEX.PHP/?cp_contactformtoemail_captcha=captcha&a=1&b=2&c=image.jpg" id="captchaimg_1" alt="security code" border="0">

As you can see I need to add /INDEX.PHP in front of this image url.

How do I add a RewriteRule to my Apache2 .htaccess to fix that?

1000 Thanks!

David Coch
  • 131
  • 1
  • 1
  • 5

1 Answers1

1
RewriteRule ^(cp_contactformtoemail_captcha.*image.jpg)    /INDEX.PHP/$1
user1133275
  • 195
  • 1
  • 11