【发布时间】:2013-08-11 09:01:15
【问题描述】:
我有一台 IP 地址为w.x.y.z 的服务器,并在其上停放了 2 个域。
mydomain.com
herdomain.com
我也有 3 个文件管理器 (php autoindex free) 像这样:
mydomain.com/Files/index.php?dir=folder1/folder2/
herdomain.com/myfiles/index.php?dir=mydata/folder2/
现在我想将打开folder2(来自上述网址之一)的用户重定向到此网址而不更改域(是否可能)?
w.x.y.z/support/index.php?dir=mainfolder/folder2/
如何在 autoindex 或 .htaccess 上执行此操作?
谢谢
【问题讨论】:
标签: .htaccess url redirect url-rewriting