Installation error - 403 Forbidden

Hello All,

I know there’s a doc about it but it didnt solve my problem (
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>
DocumentRoot /srv/

    <Directory /srv/>
            AllowOverride All
            Allow from all

    LogLevel warn
    ErrorLog ${APACHE_LOG_DIR}/
    CustomLog ${APACHE_LOG_DIR}/ 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?


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