AMH 社区首页
AMH社区 - 开放自由有价值的社区
[综合话题] 求助, 自己要疯掉了.一直404,都已经晚上10点了. |
|
---|---|
tug |
tug 发表于 2013-12-12 18:16:16
唉,从新安装了一次,,还是404,,不搞了,等管理员帮忙把。。谢谢了。。
点赞,加油! (0分)
回复
2013-12-12 20:43:54 11
|
ali |
怎不听我说,之前装了插件也有出现404,卸载后就好了
回复
2013-12-12 21:42:57 12
|
tug |
回复
2013-12-13 04:19:49 13
|
tug |
刚才看了下 访问记录。确实有这些记录。
证明dns解析应该问题不大。 157.56.92.173 - - [13/Dec/2013:02:56:27 +0800] "GET /robots.txt HTTP/1.1" 404 1448 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" 157.56.92.173 - - [13/Dec/2013:03:04:42 +0800] "GET /services_item/bespoke-business-solutions/ HTTP/1.1" 404 897 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" 222.153.156.10 - - [13/Dec/2013:03:10:02 +0800] "GET /index.php?route=common/home HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:04 +0800] "GET /index.php?route=common/home HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:04 +0800] "GET /index.php?route=common/home HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:05 +0800] "GET /index.php?route=common/home HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:05 +0800] "GET /index.php?route=common/home HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:06 +0800] "GET /index.php?route=common/home HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:07 +0800] "GET /index.php?route=common/home HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:08 +0800] "GET / HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 222.153.156.10 - - [13/Dec/2013:03:10:20 +0800] "GET / HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; HUAWEI G510-0010 Build/HuaweiG510-0010) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 192.168.1.3 - - [13/Dec/2013:04:14:23 +0800] "GET / HTTP/1.1" 404 897 "http://192.168.1.100:8888/index.php?c=host&amh_token=qetoulvs" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" 192.168.1.3 - - [13/Dec/2013:04:14:23 +0800] "GET /favicon.ico HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" 192.168.1.3 - - [13/Dec/2013:04:14:25 +0800] "GET / HTTP/1.1" 404 897 "http://192.168.1.100:8888/index.php?c=host&amh_token=qetoulvs" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" 192.168.1.3 - - [13/Dec/2013:04:14:25 +0800] "GET /favicon.ico HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" 192.168.1.3 - - [13/Dec/2013:04:25:18 +0800] "GET / HTTP/1.1" 404 897 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
回复
2013-12-13 04:30:49 14
|
tug |
会不会是 amh.conf 的问题呢???????
回复
2013-12-13 04:51:06 15
|
tug |
这个是vhost里面的配置
[root@ibmserverx vhost]# cat mitu.co.nz.conf server { listen 80; server_name mitu.co.nz www.mitu.co.nz store.mitu.co.nz modelship.mitu.co.nz cctv.mitu.co.nz; #server_name end index index.html index.htm index.php; #index end set $subdomain ''; if ( $host ~* "(?:(\w+\.){0,})(\b(?!www\b)\w+)\.\b(?!(com|org|gov|net|cn)\b)\w+\.[a-zA-Z]+" ) { set $subdomain "/$2"; } root /home/wwwroot/mitu.co.nz/web$subdomain; include rewrite/amh.conf; #rewrite end #error_page error_page 400 /ErrorPages/400.html; error_page 403 /ErrorPages/403.html; error_page 404 /ErrorPages/404.html; error_page 502 /ErrorPages/502.html; location ~ /ErrorPages/(400|401|403|404|405|502|503)\.html$ { root /home/wwwroot/mitu.co.nz/web; } location ~ .*\.php$ { fastcgi_pass unix:/tmp/php-cgi-mitu.co.nz.sock; fastcgi_index index.php; include fcgi-host.conf; fastcgi_param DOCUMENT_ROOT /web$subdomain; fastcgi_param SCRIPT_FILENAME /web$subdomain$fastcgi_script_name; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp3|wma)$ { expires 30d; } location ~ .*\.(js|css)$ { expires 12h; } access_log /home/wwwroot/mitu.co.nz/log/access.log combined; #access_log end error_log /dev/null; #error_log end
回复
2013-12-13 04:53:03 16
|
tug |
[root@ibmserverx vhost]# cat mitu.co.nz.conf
server { listen 80; server_name mitu.co.nz www.mitu.co.nz store.mitu.co.nz modelship.mitu.co.nz cctv.mitu.co.nz; #server_name end index index.html index.htm index.php; #index end set $subdomain ''; if ( $host ~* "(?:(\w+\.){0,})(\b(?!www\b)\w+)\.\b(?!(com|org|gov|net|cn)\b)\w+\.[a-zA-Z]+" ) { set $subdomain "/$2"; } root /home/wwwroot/mitu.co.nz/web$subdomain; include rewrite/amh.conf; #rewrite end #error_page error_page 400 /ErrorPages/400.html; error_page 403 /ErrorPages/403.html; error_page 404 /ErrorPages/404.html; error_page 502 /ErrorPages/502.html; location ~ /ErrorPages/(400|401|403|404|405|502|503)\.html$ { root /home/wwwroot/mitu.co.nz/web; } location ~ .*\.php$ { fastcgi_pass unix:/tmp/php-cgi-mitu.co.nz.sock; fastcgi_index index.php; include fcgi-host.conf; fastcgi_param DOCUMENT_ROOT /web$subdomain; fastcgi_param SCRIPT_FILENAME /web$subdomain$fastcgi_script_name; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp3|wma)$ { expires 30d; } location ~ .*\.(js|css)$ { expires 12h; } access_log /home/wwwroot/mitu.co.nz/log/access.log combined; #access_log end error_log /dev/null; #error_log end
回复
2013-12-13 04:53:32 17
|
tug |
神呀。。妹子呀。。。救救我吧。。帮帮我吧。。
从安装到现在20来个小时了,中间睡了一觉。 1, 纯净状态下安装的centos 6.5 版,iso是从centos 镜像服务器下载的。装了wget。 2,安装amh后。添加虚拟主机,一直404错误 3, 无任何 模块 环境下,也是404错误 4, 查看虚拟主机下的访问日志 确实记录访问的ip。 5, ping 域名,能ping到主机的外网ip地址。觉得dns问题也不大。 天那 怎么回事呢。。 唯一的收获是 从一个不懂linux的小白,竟然通过google 百度,,掌握了ssh,目录命令,文件查看和修改命令。 从查看amh的文件 模糊的懂得了amh的文件目录,和文件格式等等。。 知道了ngnix的rewrite规则是和Apache不同的。。 还有一些。。。 可是我有点强迫症,,搞不清楚就要反复折腾。。 不会最后告诉我,,不支持centos 6.5吧。。。
回复
2013-12-13 05:21:12 18
|
tug |
不过,实话说,这个面板的速度真是快到极点了。本地局域网打开面板,比打开本地目录都快。
另外amysql的网站速度也是绝对的快的。。。不知道为啥。。 有时甚至怀疑是不是缓存的
回复
2013-12-13 05:22:49 19
|
tanyuxiang |
新建虚拟主机 就用ip 然后传个静态文件 传个探针 看能不能访问
回复
2013-12-13 09:46:01 20
|