Board logo

标题: [求助] lNAMP 数据迁移使用疑问? [打印本页]

作者: huyipow1987    时间: 2012-7-30 22:53     标题: lNAMP 数据迁移使用疑问?

主机系统环境:RHEL 6.3  安装LNAMP 2.4 使用 nginx+apache ;之前使用LNMP 2.2 作为动态web服务新系统 ,
nginx   rewrite ^(.*)-(.*)\.html$  $1/$2 last;
站点目录更改为,/var/web/wwwroot .

现在LNAMP 2.4 用apache解析动态页面 在WDCP 把rewrite ^(.*)-(.*)\.html$  $1/$2 last;
添加到rewrite 规则列表,service httpd restart  报以下错误:
[root@localhost var]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 8 of /www/wdlinux/httpd-2.2.22/conf/vhost/028px.com.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]
[root@localhost var]#
作者: admin    时间: 2012-7-31 08:41

nginx,apache的规则,不能相互通用的,而是有各自的规则的




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2