The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sudden 403 (forbidden) formmail error

Discussion in 'E-mail Discussions' started by NetX, Feb 17, 2005.

  1. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    Suddenly all domains on server cannot access any formmail file (I get the 403 error)

    No matter if the file is /cgi-sys/formmail.pl, /cgi-bin/formmail.pl or any other path or extension, ie. formmail.php

    The error_log shows this:

    [Thu Feb 17 12:45:03 2005] [error] [client 201.65.169.24] mod_security: Access denied with code 403. Pattern match "formmail.pl$|formmail.pl*/$" at THE_REQUEST. [hostname "thedomain.com"] [uri "/cgi-sys/formmail.pl"]

    Permisson are ok (777 tested) no .htaccess file, etc.

    Any help would be appreciated.
     
    #1 NetX, Feb 17, 2005
    Last edited: Feb 17, 2005
  2. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    Update:

    The configuration in mod_security had:

    # formmail ban but allow modified cpanels formmail
    SecFilter "formmail.php$|formmail.php*/$"
    SecFilter "formmail.cgi$|formmail.cgi*/$"
    SecFilter "formmail.pl$|formmail.pl*/$"
     
    #2 NetX, Feb 17, 2005
    Last edited: Feb 17, 2005
  3. Fredi

    Fredi Member

    Joined:
    Apr 9, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I have error:

    modsecurity not included

    # formmail ban but allow modified cpanels formmail
    SecFilter "formmail.php$|formmail.php*/$"
    SecFilter "formmail.cgi$|formmail.cgi*/$"
    SecFilter "formmail.pl$|formmail.pl*/$"


    Thanks
     
Loading...

Share This Page