To fix it:. When a user visits a URL that requests a directory, the web server looks for a file in the given directory. If you want to find out more about forbidden error, read our article forbidden error - what is it and how to fix it.
Introduction Apache is a popular open-source app for running web servers , owing to its reliability and stability. Was this article helpful? These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary Necessary. Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
I have a feeling somewhere that this is due to file permissions but have no idea where to start. I am a relatively new user to Vista Ultimate. Thanks In Advance. Back to top. Collectives on Stack Overflow. Learn more.
Apache giving forbidden errors Ask Question. Asked 8 years, 4 months ago. Active 1 year, 2 months ago. Viewed k times. Improve this question. BenMorel Did you restart Apache? Add a comment. Active Oldest Votes. Check that : Apache can physically access the file the user that run apache, probably www-data or apache, can access the file in the filesystem Apache can list the content of the folder read permission Apache has a "Allow" directive for that folder. Improve this answer.
I think I got it. I restarted apachectl and seems to work. Cant believe it was that simple. Thanks — user I was missing the allow directive. Thanks — Michael. I don't see any issues with what's named above, but still getting the error. Where else might I look? I just fixed this issue after struggling for a few days. For Apache 2. I hope this helps someone else!
0コメント