Results 1 to 13 of 13

Thread: Problem saving settings on the server

  1. #1

    Default Problem saving settings on the server

    Hello,

    I have a problem when I upload my files from a local installation to live server.

    Everything works perfect but when I try to change the configuration of Contao generates the following error:
    ___________________
    Forbidden

    You don't have permission to access /contao/main.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.0.64 (Unix) mod_ssl/2.0.64 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.30 Server at domain.com Port 80
    ___________________

    I tried everything but I can not fix the problem.

    I note that my local installation everything works perfect and I can save settings for Contao perfectly.

    Any suggestions?

    thanks
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Problem saving settings on the server

    I encountered the exact same problem. I tried to set php to run as fastCGI, but I am waiting for that to happen to see if that makes a difference...

  3. #3
    User taca's Avatar
    Join Date
    06-20-09.
    Location
    Kyoto, Japan
    Posts
    111

    Default Re: Problem saving settings on the server

    Hi,

    Have you tried to test with Contao Check?

    Best regards.
    --
    Takahiro Kambe

  4. #4

    Default Re: Problem saving settings on the server

    Hi,

    Check Contao says that everything is correct on the server.

    I can not fix the problem. I changed the file permissions to 777 and does not work.

    I hope your help,

    thank you very much
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  5. #5
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Problem saving settings on the server

    ps, same for me. I tried contao-check, all good. Still, I suspect the server is misconfigured in some way....

  6. #6

    Default Re: Problem saving settings on the server

    I tested with two different servers and the problem is the same.

    Is this a bug Contao 2.11?
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  7. #7
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Problem saving settings on the server

    Could it be to do with the .htaccess file (that is, are you using the 2.11 one, and have you configured it for your server)?

  8. #8

    Default Re: Problem saving settings on the server

    I renamed the file .htaccess.default that comes by default with Contao 2.11 and the problem persists.

    I can not find the solution to the problem.

    Thanks
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  9. #9
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Problem saving settings on the server

    I got this from the server logs. Does that mean anything to anyone?

    [Wed Mar 14 10:24:07 2012] [error] [client 99.99.199.199] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(< ?(?:script|about|applet|activex|chrome).(?:script| about|applet|activex|chrome) ?>|> ?< ?(img ?src|a ?href) ?= ?(ht|f)tps?:/|" ?> ?<|" ?[a-z]+ ?<.>|> ?"? ?(>|<)|< ?/?i?frame|\%env)" at ARGS:allowedTags. [file "/etc/httpd/modsecurity.d/10_asl_rules.conf"] [line "690"] [id "340147"] [rev "56"] [msg "Atomicorp.com - FREE UNSUPPORTED DELAYED FEED - WAF Rules: Generic XSS filter"] [data ".php?"] [severity "CRITICAL"] [hostname "domain.com"] [uri "/contao/main.php"] [unique_id "T2Bjt1UR1YIAABPgbc4AAAAP"]
    I submitted this as a bug after seeing the problem did not exist before

  10. #10

    Default Re: Problem saving settings on the server

    I think it's a bug.

    Unfortunately the forum in English does not have as much movement as in German.

    This is the great disadvantage of Contao CMS

    :-(
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  11. #11
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: Problem saving settings on the server

    It's not a bug, one of the web server firewall rules is matching a predefined pattern. Therefore, the server denied the access.
    Contao Community Moderator
    → Support options

  12. #12

    Default Re: Problem saving settings on the server

    Hi xchs,

    You are right, not a Bug.

    I changed my hosting provider and everything works perfectly.

    Something was wrong with my previous server.
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  13. #13
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Problem saving settings on the server

    It is not to say something was wrong with your server. It could have been mod_security blocking certain words like "script". Might be something the host could change for you.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •