VM里LANMP环境下测试网站,添加伪静态规则后,APACHE重启失败!
[i=s] 本帖最后由 花少 于 2011-11-25 20:21 编辑 [/i]如题~
Starting httpd:Syntax error on line 1 of /www/wdlinux/httpd-2.2.17/conf/rewrite/my0792_nginx.conf:
Invalid command 'rewrite', perhaps misspelled or defined by a module not included in the server configuration
规则是N的规则,我在WDCP添加Nginx的伪静态规则后,在SSH里先重启nginx成功,后重启httpd失败后报错!
伪静态规则应该没错,这个错误是怎么回事,求解!谢谢。
难道这个一键安装包里APACHE没有加载rewrite模块? 规则错了,应该用apache的规则 [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=687&ptid=276]2#[/url] [i]admin[/i] [/b]
谢谢老大 LNAMP 原来用apache的规则就可以了
页:
[1]