小编Evi*_*l E的帖子

将子目录视为 xampp 中的 Web 根目录

我在 Windows 7 机器上运行 Xampp。我有一个网站,它在我的 Web 根目录中运行。我通过以下方式访问该网站http://localhost/foobar

我想设置它,以便我可以指向我的本地浏览器说http://foobar,并让它将 foobar 目录视为 Web 根目录。

这是更改 apache 上的主机文件或配置的问题吗?

windows-7 apache-http-server xampp hosts-file

1
推荐指数
1
解决办法
5102
查看次数

标签 统计

apache-http-server ×1

hosts-file ×1

windows-7 ×1

xampp ×1