Apache:
Forbidden You don‘t have permission to access / on this server
度娘了半天,屁用都没,都是老掉牙的。
最后google之,http://stackoverflow.com/questions/21551840/forbidden-you-dont-have-permission-to-access-on-this-server
Found my solution thanks to Error with .htaccess and mod_rewrite
For Apache 2.4 and in all *.conf files (e.g. httpd-vhosts.conf, http.conf, httpd-autoindex.conf ..etc) use
Require all granted
instead of
Order allow,deny
Allow from all
The Order and Allow directives are deprecated in Apache 2.4.
Forbidden You don't have permission to access / on this server
时间: 2024-12-21 04:35:57