Alejandro Veintimilla
Alejandro Veintimilla

Reputation: 11523

Apache you don't have permissions to access / on this server already added Require all granted

I have an Apache server that is giving me this popular error. I already tried adding "Require all granted" as this answer suggests. What else could it be?

My httpd.conf file has this:

<Directory >
    AllowOverride None
    Require all granted
</Directory>

And I also tried doing chmod 755 on the directory folder. I ran out of ideas. What else could it be? If you need anything other, please ask. Any advice will help.

Upvotes: 1

Views: 438

Answers (1)

OpalApps
OpalApps

Reputation: 161

You need to specify the directory to which the rules apply. It should be something like:

<Directory "/">
</Directory >

or

<Directory "/www/" >
</Directory>

See the syntax of the "Directory" directive here: < Directory > Directive

Upvotes: 1

Related Questions