V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  2232588429  ›  全部回复第 46 页 / 共 104 页
回复总数  2068
1 ... 42  43  44  45  46  47  48  49  50  51 ... 104  
@irainsoft 三星没啥丢数据不识别问题吧?
2016-06-23 19:24:30 +08:00
回复了 2232588429 创建的主题 信息安全 京东异地登陆都不带提醒的,今天接到诈骗电话才发觉.
@VYSE 钻石有短信通知?在特权列表并未看到.
2016-06-23 19:17:07 +08:00
回复了 2232588429 创建的主题 信息安全 京东异地登陆都不带提醒的,今天接到诈骗电话才发觉.
@airyland 嗯,绑定设备应该比较合理,QQ 貌似就是这样做的?,京东这样什么通知都不做很容易坑大量用户的.
2016-06-23 10:14:59 +08:00
回复了 2232588429 创建的主题 问与答 目前比较全面的微信公众号大数据统计分析站点有哪些?
收藏比回答还多→→
2016-06-22 15:35:28 +08:00
回复了 ghostsf 创建的主题 问与答 我想知道有多少 V 友有两个微信号
有 6 个微信号的路过
@lslqtz 举个栗子罢了,2333
@lslqtz

网站文件根目录路径,话说为啥你这个跟我差别好大.你 nginx 是咋安装的? 我是编译安装的.

我贴下我完整的 nginx.conf 配置文件.

#user nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}


http {
include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

server {
listen 80;
server_name localhost;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
root /usr/abc.com/;
index index.php index.html index.htm;
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root /usr/acb.com/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;

# location / {
# root html;
# index index.html index.htm;
# }
#}


# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;

# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;

# ssl_session_cache shared:SSL:1m;
# ssl_session_timeout 5m;

# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;

# location / {
# root html;
# index index.html index.htm;
# }
#}

}
@lslqtz 我配置的是

location / {
index index.html index.htm index.php;
root /www/wwwroot/chinaz.com;
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}

}

好像没问题吧,看官方文档也是这么配置的,但是打开就是不行~
@dixyes 就是看不到, rootdeng'lu 不会等级不够啊,好蛋疼!
@fleer

@yeyeye

内心一万头草泥马呼啸而过
@dixyes 日志就没有最近的记录 T T
@MrGba2z 每次都重启的啦
@seki 改后成 404 了~
@yeyeye

if (-d $request_filename){
rewrite ^/(.*)([^/])$ /$1$2/ permanent;
}
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
@shiny 写 loction 里面?
@realpg 就在该配置文件下增加一个 default server 字段么?
2016-06-17 23:54:41 +08:00
回复了 2232588429 创建的主题 程序员 求大家伙帮忙看个 nginx 错误日志~谢谢
@lamCJ 路径传了一个图标上去倒是变成 403 了,现在删掉也还是 403~
2016-06-17 23:29:59 +08:00
回复了 2232588429 创建的主题 程序员 求大家伙帮忙看个 nginx 错误日志~谢谢
@cankoor

@RoyLaw

/etc/init.d/php5-fpm start

启动了也不行呢,非要重启系统么?
2016-06-17 23:19:16 +08:00
回复了 2232588429 创建的主题 程序员 求大家伙帮忙看个 nginx 错误日志~谢谢
@taozywu php-fpm 重启 OK 也不代表启动了?
2016-06-17 23:18:51 +08:00
回复了 2232588429 创建的主题 程序员 求大家伙帮忙看个 nginx 错误日志~谢谢
@lamCJ 打开提示 An error occurred 不是 403 啊,另外 php-fpm 只装了一个啊~
1 ... 42  43  44  45  46  47  48  49  50  51 ... 104  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2320 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms · UTC 15:24 · PVG 23:24 · LAX 08:24 · JFK 11:24
Developed with CodeLauncher
♥ Do have faith in what you're doing.