Allow, Deny in htaccess in CentOS 5.4?

Discussion in 'HOWTO-Related Questions' started by Eviang, Jun 19, 2010.

  1. Eviang

    Eviang New Member

    Hi all,

    I'm a long time reader never posted before.

    I installed CentOS following the The Perfect Server - CentOS 5.4 x86_64 [ISPConfig 3] guide a couple months ago and it's working perfectly but I do have a couple of questions. I'll be posting only one today as the others require me to go sleep before writing them -.-

    I've tried to use the ALLOW, DENY directive in the .htaccess file in one of my sites but Apache/PHP kept throwing an error. The server is down right now so I can't paste the error here but I've read somewhere else in this forum about the same problem, but those solutions didn't work for me.

    After following that Perfect guide, is there something I should do to allow those directives in the htaccess files?

    I'll come back tomorrow with the error line (sorry about that). But in the mean time, maybe someone knows what to do ;)

  2. falko

    falko Super Moderator ISPConfig Developer

    You can try this in the Apache Directives field in ISPConfig:
    <Directory /path/to/your/web_directory>
     AllowOverride All

Share This Page