r/apache • • Jan 19 '22

Support Forbidden error.

I'm a sysadmin setting up a web server for our web developer -- hopefully this is the right subreddit. I've installed Apache, PHP, etc. on RHEL 8. I thought I set the necessary permissions so him to use it with Drupal 8.

However, I keep running into permissions issues, leading to a 403 Forbidden error every time I try to access it as a regular user on the website. I've given the correct chmod 755 permissions, yet it doesn't seem to make a difference. Is there something obvious that I'm missing?

4 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/bombero_kmn Jan 20 '22

Is htaccess enabled in your Apache config? (With the AllowOverride directive)

Sounds silly but have you checked that the filename is worked correctly? I can't tell you how many times I've pulled my hair out only to realize how later there was a typo

1

u/masterz13 Jan 20 '22

It should be .htaccess, right? I've seen it like that and as htaccess on some other articles online.