Home > Backend Development > PHP Tutorial > 重定向问题

重定向问题

WBOY
Release: 2016-06-23 14:22:55
Original
954 people have browsed it

阿里云 重定向

同样的一套程序,放在虚拟空间上运行就没有问题,为什么放到阿里云服务器上面运行就会出现重定向循环的问题?哪位高手能够帮忙解答下。我使用的阿里云官方的一键环境安装包

回复讨论(解决方案)

.htacess 里 RewriteBase  路径设置的对吗?
服务器一般是 RewriteBase /
本地,有可能你放在/www/test/ 之类的文件夹里,这样原来的 RewriteBase /test/

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template