On 18/08/2010 13:54, Sorin Manolache wrote:
if (!ap_is_initial_req(req))
    return DECLINED;
Thanks for the tip. This stops the SSI include sub requests but not the two requests for the captcha image they are both initial requests.

[Wed Aug 18 14:03:25 2010] [notice] [client 192.168.1.70] SMU Module Fixups GET (/var/www/captcha_image.gif), referer: http://192.168.0.52/index.shtml [Wed Aug 18 14:03:25 2010] [notice] [client 192.168.1.70] SMU Module Fixups init-req(1) handler((null)) content-type(image/gif), referer: http://192.168.0.52/index.shtml [Wed Aug 18 14:03:25 2010] [notice] [client 192.168.1.70] SMU Fixup CAPTCHA Image (/var/www/captcha_image.gif), referer: http://192.168.0.52/index.shtml [Wed Aug 18 14:03:25 2010] [notice] [client 192.168.1.70] smu-captcha /var/www/captcha_image.gif, referer: http://192.168.0.52/index.shtml

[Wed Aug 18 14:03:28 2010] [notice] [client 192.168.1.70] SMU Module Fixups GET (/var/www/captcha_image.gif) [Wed Aug 18 14:03:28 2010] [notice] [client 192.168.1.70] SMU Module Fixups init-req(1) handler((null)) content-type(image/gif) [Wed Aug 18 14:03:28 2010] [notice] [client 192.168.1.70] SMU Fixup CAPTCHA Image (/var/www/captcha_image.gif) [Wed Aug 18 14:03:28 2010] [notice] [client 192.168.1.70] smu-captcha /var/www/captcha_image.gif

I see that mod_rewrite just changes the requests filename, I tried the same but never received the full content of captcha.shtml.

Regards,
Martin.

--
Martin Townsend
power*oasis*
Suite 1, Unit 41
Shrivenham Hundred Business Park
Majors Road
Watchfield
Swindon
Wilts SN6 8TZ

Reply via email to