Control Web Panel
WebPanel => Apache => Topic started by: socratis 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
-
Hello.
Check your error log file /usr/local/apache/logs/error_log it should have the error with a reason 403.
-
the error is like i describe it
client xxx.xxx.xxx.xxx] client denied by server configuration: /usr/local/apache/htdocs/
-
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
-
Great, but better to use a files from user's home.