小编use*_*349的帖子

端口 8080 上的虚拟主机 XAMPP 无法正常工作

我想在 XAMPP 上运行 Vhost 但重定向到端口:8080。这里的问题是我的 IIS 在端口 :80 上运行,Apache 在端口 :8080 上运行,这些是我尝试在虚拟主机上运行我的项目的配置文件:

主机文件

# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost
    127.0.0.1   www.goviaje.com
Run Code Online (Sandbox Code Playgroud)

httpd-vhosts.conf

# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated …
Run Code Online (Sandbox Code Playgroud)

php apache iis xampp virtualhost

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

标签 统计

apache ×1

iis ×1

php ×1

virtualhost ×1

xampp ×1