0

我有一个我无法解决的问题。我认为这是一个 XAMPP 问题。当我尝试在 localhost 上打开我的网站时,我收到以下消息:

No such file or directory
When i try to open another  on localhost it run without problem.

你能说我有什么问题吗?

4

1 回答 1

0

假设您正在从您的 uri 访问正确的资源,请执行以下操作

 In the file 
 \xampp\apache\conf\extra\httpd-xampp.conf

搜索“位置匹配”。

找到它后,将“全部拒绝”更改为在其前面添加一个#。请参阅下面的代码。

 <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
于 2013-10-15T18:22:58.627 回答