找不到该服务器上未找到所需的URL。 XAMPP错误
我想运行一个简单的html文件
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="Untitled.css">
<title>Connexion</title>
</head>
<body>
<div class="container">
<form action="" method="post" class="c">
<p class="l-text" > login</p>
<div class="i">
<input type="text" placeholder="username" name="username" required>
</div>
<div class="i">
<input type="password" placeholder="password" name="pass" required>
</div>
</form>
</div>
</body>
</html>
位于“ c:\ xampp \ htdocs \ chou” 中,我得到此错误
i.sstatic.net/ofz6g.png“ rel =“ nofollow :我更改听80 听8080
我在这里也尝试了很多解决方案,但是错误仍然相同
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能会运行另一个Apache实例。尝试访问http:// localhost,看看XAMPP仪表板是否打开。如果不是这样,我们可以安全地假设您仍在运行其他Apache实例(c:// appserv/apache24)。
a)打开任务管理器并搜索Apache24进程。如果有一个,那就结束它。然后重试以启动XAMPP Apache服务器。
或者,如果您不需要该Apache服务器,则可以从系统中卸载它。
如果XAMPP仪表板通过访问Local -Host URL出现,则您正在运行XAMPP服务器。 (请确保您只安装了一台XAMPP服务器)
如果是这样,
a)您是否要访问“ http:// localhost/chou”,然后出现此错误?
b)在HTDOCS目录中存在此文件(“ chou/connecter.php”)。
c)如果XAMPP Apache在端口8080上收听,那么您是否尝试打开http:// localhost:8080/chou/connecter.php,
如果上述没有任何作用,请提供更多详细信息。
You may have another apache instance running. Try to visit http://localhost and see whether the xampp dashboard opens up. If not then we can safely assume that you are still running your other apache instance (c://AppServ/Apache24).
a) Open the task manager and search for a apache24 process. If there's one then end it. And then retry to start the xampp apache server.
Or if you don't need that apache server, you can uninstall it from the system.
If the xampp dashboard comes up by visiting the localhost url, then you are running the xampp server. (please make sure that you have only one xampp server installed)
if so,
a) Are you trying to visit "http://localhost/chou", and then this error comes up?
b) Does this file ("chou/connecter.php" ) exists in the htdocs directory.
c) If the xampp apache is listening on port 8080, Then Did you try to open http://localhost:8080/chou/connecter.php
If nothing above works, Please provide more details.