We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10365
    • 11 Posts
    I have this problem (example):
    1. new snippet > [[phpinfo]]
    2. add:
    <?php
    ?>

    3. save. all is ok.
    4. modify snippet by:
    <?php
    phpinfo();
    ?>

    4. save > error > Forbidden : You don’t have permission to access /manager/index.php on this server.

    curiously, same thing happens if I want to add it directly in PMA! simply crashes...

    the same thing happens with js too, but I’ve managed to insert some in the page with @FILE (I was under pressure to do the job)

    Anyone has any idea why this happens? Any suggestion or idea would be very useful!
    Thanks in advance smiley
      • 18397
      • 3,250 Posts
      One word: mod_security. Do a search on the forums for it and you will find several discussions about it as well as solutions.
        • 10365
        • 11 Posts
        Indeed, Mark.
        That’s true. I am waiting for the answer from the guy who is in charge with the server.

        btw... Ditto rules! laugh
        MODx rules, no doubt about that.
        A big THANK YOU for each one who’s building this fantastic CMS and PHP Application Framework !
        Keep up the superb work!
          • 25663 MODX Staff
          • 12,272 Posts
          For what it’s worth, the guys that write mod_security are hopefully going to supply a set of custom rules that make it work with MODx without turning it off. Hopefully soon! smiley
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me