CentOS & apache2: configuration error: couldn't perform authentication. AuthType not set!:

Trabla: CentOS(6.5) & apache2: configuration error:  couldn't perform authentication. AuthType not set!:


Solving:

My configuration was (  apache2 config   -  nano /etc/httpd/conf/httpd.conf  ):

<Directory /var/www/html/api >
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>


Fix ( change "Require all granted" to  "Allow from all" ):

<Directory /var/www/html/api >
        Options Indexes FollowSymLinks
        AllowOverride All
        Allow from all
</Directory>







Restart apache2:
sudo /sbin/service httpd restart

Problem discussion (I get fix from here):
http://stackoverflow.com/questions/21265191/apache-authtype-not-set-500-error 

No comments:

Post a Comment