Installation error - 403 Forbidden

Hello All,

I know there’s a doc about it but it didnt solve my problem (https://learn.getgrav.org/troubleshooting/forbidden).
Did not find an existing topic about either, say me if there is one.

Here is my problem, i’m not much of an apache expert, and i guess i messed up with my conf somewhere. I have a 403 error Forbidden when i try to access the site through the adress i defined in my vhost and in /etc/hosts (i’m on Ubuntu).

A look at my vhost :

<VirtualHost *:80>
ServerName ndp.com
ServerAlias www.ndp.com ndp.com
ServerAdmin webmaster@ndp.com
DocumentRoot /srv/ndp.com/

    <Directory /srv/ndp.com/>
            AllowOverride All
            Allow from all
    </Directory>

    LogLevel warn
    ErrorLog ${APACHE_LOG_DIR}/ndp.com-error.log
    CustomLog ${APACHE_LOG_DIR}/ndp.com-access.log combined

In my webroot, my permissions are set to “jimmy:www-data”.

I know this is more of an Apache issue than a Grav issue, but i’m asking anyway because a simple php file in my webroot works fine. Maybe i missed a step?

Thx

Maybe a good solution for you would be to setup your server using serverpilot.io service. It’s very simple, the free plan is enough for most usage and this could avoid you to manually set vhosts etc.