Home  >  Article  >  Backend Development  >  ThinkPHP的分组配置+Apache Alias的有关问题

ThinkPHP的分组配置+Apache Alias的有关问题

WBOY
WBOYOriginal
2016-06-13 13:32:43940browse

ThinkPHP的分组配置+Apache Alias的问题
大家好,我遇到问题了。

我的XAMPP的Apache一般用Alias配置,(VirtualHost不是很熟悉。)

比如说Alias /rest "~/svn/phpproj"

然后配置上ThinkPHP,开始访问也没有问题。但是在ThinkPHP里面设置了Admin和Home分组以后。
我发现分组里面的Action无法访问。

我实验了很久,感觉是Alias和分组的问题。

谁能帮我看看?

------解决方案--------------------
Alias 相当于独立的网站

请描述一下的部署情况
------解决方案--------------------
没用过alias,都是用 VirtualHost 配置虚拟主机。你试着用 VirtualHost 试试看。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn