.htaccess results with 500 Error

Discussion in 'Server Operation' started by NemesisX, Jul 26, 2008.

  1. NemesisX

    NemesisX New Member

    Hello,

    I have Centos 5.2 with latest ISPConfig installed (followed the perfect server guide). I have installed eAccelerator and suPHP on it. I'm trying to use .htaccess on my server, but whenever i try to add it to a folder of a website i get 500 Error - Internal Server Error. I have added
    Code:
    Options FollowSymLinks
    AllowOverride All
    directives to my httpd.conf file for the website and the folder the .htaccess file is. I have also checked all the logs, and there are no error logs from apache not in /etc/httpd/logs nor in /var/log/ messages log.
    Help me please, most of my web applications will not work without .htaccess files.

    Thanks in advance.
    Miso
     
  2. falko

    falko Super Moderator Howtoforge Staff

    The error log is either in /var/log/apache, /var/log/apache2, /var/log/httpd, or in the web site's error log in (e.g.) /var/www/web1/logs.

    I think you might have to put a <Directory> directive around these lines, e.g.
    Code:
    <Directory /var/www/web1/web>
    Options FollowSymLinks
    AllowOverride All
    </Directory>
     

Share This Page