【发布时间】:2012-01-26 04:28:26
【问题描述】:
我最近实现了白标,在更改了我的 VHOSTS 设置后,我发现一些 URL 被剥离,例如:
<VirtualHost *:8166>
ServerAdmin webmaster@localhost
DocumentRoot C:\xampp5.2test\htdocs\portal
ServerName xampp
<Directory "C:\xampp5.2test\htdocs\portal">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
在 apache vhosts 中是这样配置的。但是,当在地址栏示例中写入 localhost:8166 时:
http://localhost:8166/ url 是这样而不是
像上面一样,我怎样才能让它将完整路径附加到 url
谢谢。
【问题讨论】:
标签: apache xampp vhosts white-labelling