在apache中添加rewrite功能,操作方法:
安装过程中,报错。
Warning! dlname not found in /usr/local/apache2/modules/mod_rewrite.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_rewrite.so
chmod: cannot access `/usr/local/apache2/modules/mod_rewrite.so': No such file or directory
apxs:Error: Command failed with rc=65536
解决方法:
vi /usr/local/apache2/build/libtool
如上修改后,重新安装rewrite模块即可成功。