dgqy.net
当前位置:首页 >> unknown DirECtivE >>

unknown DirECtivE

今天在写Nginx中URL重写的时候,一直报错如下 [emerg]: unknown directive “if(!-e” in /usr/local/nginx/conf/nginx.conf:124 检查了好几遍,配置文件也找不到问题所在 最后才发现原来是if和(之间必须有个空格

安装后修改nginx.conf添加location /group1/M00 { root /data; ngx_fastdfs_module; }重启Nginx,提示"unknown directive "ngx_fastdfs_module" in /etc/nginx/...

sudo /etc/init.d/nginx start启动 nginx:[emerg]: unknown directive "1.0.0.0/13" in /etc/nginx/conf.d/geo.conf:1 提示失败 重新安装也是这样,哪位...

nginx: [emerg] unknown directive "锘? in D:\nginx-1.4.7/conf/nginx.conf:3D:\nginx-1.4.7>我在windows 2008 r2上启动的时候可以,但是一运行"nginx -...

你的#ifndef_WALK_H_应该要空格啊!!!!变成这样 #ifndef (空格) _WALK_H_

nginx: [emerg] unknown directive "accesskey" in /usr/local/webserver/nginx/conf/nginx.conf:57location /img { accesskey on; accesskey_hashmethod md5; ...

nginx: [emerg] invalid number of arguments in "root" directive in d:\Program Fil es (x86)\nginx/conf/nginx.conf:44 下面是配置: location / { ...

nginx配置黑名单报错:nginx: [emerg] unknown directive "white_black_list_conf" in /usr/local/web/nginx5//conf/nginx.conf:38怎么解决 ...

在程序最后要加上#endif

是 include 你漏了个e ps 还有 你说随便打的代码,起码也要贴一下出来,说不定以后出现的问题,不是你那个头文件包含单词错了,是你的代码本身出问题了。

网站首页 | 网站地图
All rights reserved Powered by www.dgqy.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com