我最近没有改变任何东西,xampp直到昨天它都可以正常工作。
但现在我收到了这个错误:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
Run Code Online (Sandbox Code Playgroud)
我不知道发生了什么,因为它一直工作到昨天。
而且我不得不说这个地址localhost/phpmyadmin工作正常,只是我的项目地址localhost/project22不工作。
最后通过在 XAMPP 配置文件中添加一个别名来解决它 httpd-xampp.conf
Alias /project22 "C:/xampp/project22/"
<Directory "C:/xampp/project22">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Require all granted
</Directory>
Run Code Online (Sandbox Code Playgroud)
没有变化,这似乎是 XAMPP 的一些设置问题
| 归档时间: |
|
| 查看次数: |
27258 次 |
| 最近记录: |