没有就自己加上了,看看你的apache 安装目录下面 modules 目录下面有没有这个 mod_rewrite.so?

解决方案 »

  1.   

    要看你是windows还是Linux还是Freebsd下面的APACHE了
    还要看版本,更何况不同的LINUX发行版本源里的apache配置又有所不同
      

  2.   

    加上去试过了,重启apache出错,modules 里面只有httpd.exp和libphp4.so两个文件
      

  3.   

    编译的时候加上 --enabel-rewrite
      

  4.   

    参考apache2+php5的安装#./configure --prefix=/usr/local/apache2 --enable-module=so --enable-rewrite
    #make
    #make install 编译结束后使用 /usr/local/apache2/bin/apachetpl -l 确认是否包含了 rewrite 模块
      

  5.   

    用./configure命令時出錯,好象說找不到這個目錄,
      

  6.   

    有這樣的提示:
    -bash: ./configure: No such file or directory
      

  7.   

    参考php5+gd2的安装 http://hi.baidu.com/spidertiger/blog/item/ca179da1e9b21b8a471064df.html