Author Topic: apache permision denied error  (Read 9780 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
apache permision denied error
« on: February 02, 2016, 10:40:40 AM »
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

Offline
*****
Re: apache permision denied error
« Reply #1 on: February 02, 2016, 12:15:41 PM »
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

Offline
*
Re: apache permision denied error
« Reply #2 on: February 02, 2016, 01:36:32 PM »
the error is like i describe it
client xxx.xxx.xxx.xxx] client denied by server configuration: /usr/local/apache/htdocs/

Offline
*
Re: apache permision denied error
« Reply #3 on: February 02, 2016, 01:47:36 PM »
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

Offline
*****
Re: apache permision denied error
« Reply #4 on: February 05, 2016, 10:41:52 AM »
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