我读了安装在我的Apache服务器上的mod_rewrite模块!实现干净的网址。我的Apache服务器是2.0。我在我的php信息中看不到这个模块。我如何安装这个模块。有人告诉我吗?Apache中的mod_rewrite模块
-1
A
回答
0
内部httpd.conf文件取消对该行的LoadModule rewrite_module模块/ mod_rewrite.so
这是基本方式(从行的前面取出磅“#”符号),apache的通常新版本已取消注释。
2
您可能需要使用a2enmod rewrite
启用它,然后重新启动或重新加载Apache。
0
如果您使用php作为CGI您将无法在phpinfo()中看到mod_rewrite。
(或其他的apache模块)
相关问题
- 1. Apache mod_rewrite模块问题
- 2. Lighttpd的mod_rewrite模块
- 3. 在Apache中安装并启用Mod_Rewrite模块
- 4. Apache的mod_rewrite的
- 5. Apache mod_rewrite
- 6. 建立Apache 1.3模块(特别是mod_rewrite和mod_alias)
- 7. Apache Web服务器mod_rewrite模块RewriteRule问题
- 8. apache中的mod_rewrite问题
- 9. Apache 2.2模块
- 10. Apache模块mod_proxy_balancer
- 11. Apache的mod_rewrite子域
- 12. Apache mod_rewrite的帮助?
- 13. Apache mod_rewrite和php
- 14. Apache vHost mod_rewrite
- 15. Apache mod_rewrite到Nginx
- 16. Apache Mod_Rewrite帮助
- 17. Apache mod_rewrite问题
- 18. Apache mod_rewrite REQUEST_URI不匹配模式
- 19. lighttpd mod_rewrite与Apache Django和FastCGI的mod_rewrite
- 20. 如何在php中使用Apache mod_rewrite模块来合并2重写规则
- 21. Apache和Rewrite模块
- 22. 在Apache中转义点mod_rewrite
- 23. 使用mod_rewrite创建Apache中
- 24. URL重写模块测试(mod_rewrite的)
- 25. Linux上apache的mod_jk模块
- 26. Apache的mod_deflate模块参数
- 27. Apache的重写模块
- 28. mod_proxy_http.c之前的Apache模块
- 29. svn每Apache与mod_rewrite
- 30. Apache mod_rewrite重定向
请考虑将其移至http://serverfault.com/? – BenTheDesigner 2010-05-17 09:34:57