篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 加入一个la pagina de apache服务器相关的知识,希望对你有一定的参考价值。
https://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server
Update October 2016
4 years ago, since this answer is used as a reference by many, and while I learned a lot from security perspective during these years, I feel I am responsible to clarify some important notes, and I've update my answer accordingly.
The original answer is correct but not safe for some production environments, in addition I would like to explain some issues that you might fall into while setting up your environment.
If you are looking for a quick solution and SECURITY IS NOT A MATTER, i.e development env, skip and read the original answer instead
Many scenarios can lead to 403 Forbidden:
A. Directory Indexes (from mod_autoindex.c)
When you access a directory and there is no default file found in this directory AND Apache Options Indexes is not enabled for this directory.
A.1. DirectoryIndex option example
DirectoryIndex index.html default.php welcome.php
A.2. Options Indexes option
If set, apache will list the directory content if no default file found (from the above
以上是关于markdown 加入一个la pagina de apache服务器的主要内容,如果未能解决你的问题,请参考以下文章