如何配置让apache做到这一点?
我要访问 http://www.th9.net/test.html/
实际访问 http://www.th9.net/test.html
要访问 http://www.th9.net/test/
实际访问 http://www.th9.net/test (亦即http://www.th9.net/test.html)
[问题]如何配置让apache做到这一点
-
- 帖子: 74
- 注册时间: 2005-12-28 14:12
- 联系:
-
- 帖子: 74
- 注册时间: 2005-12-28 14:12
- 联系:
-
- 帖子: 74
- 注册时间: 2005-12-28 14:12
- 联系:
可是在我的本地机上,即使将mod_rewrite去掉,重启服务器后,也可以访问
http://www.th9.net/test.html/
在我的本地机apache上,我访问,
http://domain.com/phpinfo
http://domain.com/phpinfo/
http://domain.com/phpinfo.php
http://domain.com/phpinfo.php/
都正常,即使将mod_rewrite去掉,重启服务器后,访问
http://domain.com/phpinfo.php
http://domain.com/phpinfo.php/
也正常!
可是在dreamhost服务器上,
http://www.th9.net/phpinfo
http://www.th9.net/phpinfo.php
访问正常!
http://www.th9.net/phpinfo/
http://www.th9.net/phpinfo.php/
则无法访问,为何?
http://www.th9.net/test.html/
在我的本地机apache上,我访问,
http://domain.com/phpinfo
http://domain.com/phpinfo/
http://domain.com/phpinfo.php
http://domain.com/phpinfo.php/
都正常,即使将mod_rewrite去掉,重启服务器后,访问
http://domain.com/phpinfo.php
http://domain.com/phpinfo.php/
也正常!
可是在dreamhost服务器上,
http://www.th9.net/phpinfo
http://www.th9.net/phpinfo.php
访问正常!
http://www.th9.net/phpinfo/
http://www.th9.net/phpinfo.php/
则无法访问,为何?