apache permision denied error

Started by socratis, February 02, 2016, 10:40:40 AM

Previous topic - Next topic

socratis

Hi to all of you
after i move my main domain under a virtual host
i get an error on the main site Forbidden

You don't have permission to access / on this server.
i try to fix the permision under /usr/local/apache/htdocs
to nobody:nobody
but the same problem
the problen is that webmail and phpmyadmin cant work
can u help
thanks

Igor S.

Hello.

Check your error log file /usr/local/apache/logs/error_log it should have the error with a reason 403.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

socratis

the error is like i describe it
client xxx.xxx.xxx.xxx] client denied by server configuration: /usr/local/apache/htdocs/

socratis

Finally the problem is that
<Directory "/usr/local/apache/htdocs">
    Options Indexes FollowSymLinks

    Order allow,deny
    Allow from all

</Directory>

before it has deny from all

Igor S.

Great, but better to use a files from user's home.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services