0
我想问一个问题:页面重定向等
我如何请求重定向到http://sub.example.com或http://sub.example.com到
http://sub.example.com/index.php?而且我不会询问如何将index.php设置为DirectoryIndex,即时通讯要求将服务器物理重定向到http://sub.example.com/index.php,而不是仅在地址栏中使用sub.example.com执行index.php。有没有.htaccess或php serverside解决方案?在此先感谢
它不工作? – 2012-04-15 08:44:44
您是否正确地配置了您的Web服务器/虚拟主机以允许.htaccess覆盖值? – 2012-04-15 08:48:05
是的,我有,去sub.example.com只是给sub.example.com? – 2012-04-15 08:50:34