1

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.

Community
  • 1
  • 1
Alejandro Veintimilla
  • 10,743
  • 23
  • 91
  • 180

1 Answers1

1

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

OpalApps
  • 149
  • 13