Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Installation error - 403 Forbidden

Started by Muut Archive 9 years ago · 1 replies · 795 views
9 years ago

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 [email protected]
DocumentRoot /srv/ndp.com/

TXT
    <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

</VirtualHost>

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

9 years ago

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.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1103 9 years ago