我有一个问题,我无法解决它。 我认为这是一个XAMPP问题。 当我试图在localhost上打开我的网站时,我有这样的信息:
No such file or directory
When i try to open another on localhost it run without problem.
你能说我有什么问题吗?
答案 0 :(得分:0)
假设您正在从您的uri访问正确的资源请执行以下操作
In the file
\xampp\apache\conf\extra\httpd-xampp.conf
搜索“LocationMatch”。
找到后,对“拒绝所有人”进行更改,在其前面加上#。请参阅下面的代码。
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
#Deny from all
Allow from ::1 127.0.0.0/8
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var