Control Web Panel

WebPanel => Apache => Topic started by: socratis on February 02, 2016, 10:40:40 AM

Title: apache permision denied error
Post 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
Title: Re: apache permision denied error
Post by: Igor S. 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.
Title: Re: apache permision denied error
Post by: socratis 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/
Title: Re: apache permision denied error
Post by: socratis 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
Title: Re: apache permision denied error
Post by: Igor S. on February 05, 2016, 10:41:52 AM
Great, but better to use a files from user's home.