提問三步曲: 提問先看教程/FAQ索引(wdcp,wdcp_v3,一鍵包)及搜索,會讓你更快解決問題
1 提供詳細,如系統版本,wdcp版本,軟件版本等及錯誤的詳細信息,貼上論壇或截圖發(fā)論壇
2 做過哪些操作或改動設置等
溫馨提示:信息不詳,很可能會沒人理你!論壇有教程說明的,也可能沒人理!因為,你懂的
[求助] 【急】新建網站后無法打開HTTP ERROR 500
新建網站后無法打開HTTP ERROR 500/www/wdlinux/nginx/conf/vhost/bbxchina.com.conf如下:
- server {
- listen 80;
- root /www/web/bbxchina_com/public_html;
- server_name bbxchina.com bbxchina.com www.bbxchina.com hkvps.bbxchina.com;
- index index.html index.php index.htm;
- error_page 400 /errpage/400.html;
- error_page 403 /errpage/403.html;
- error_page 404 /errpage/404.html;
- error_page 503 /errpage/503.html;
- location ~ \.php$ {
- proxy_pass http://127.0.0.1:88;
- include naproxy.conf;
- }
- location ~ /\.ht {
- deny all;
- }
- location / {
- try_files $uri @apache;
- }
- location @apache {
- proxy_pass http://127.0.0.1:88;
- include naproxy.conf;
- }
- error_log logs/bbxchina.com_error.log;
- }
-
復制代碼
/www/wdlinux/apache/conf/vhost/bbxchina.com.conf如下:
- <VirtualHost *:88>
- DocumentRoot /www/web/bbxchina_com/public_html
- ServerName bbxchina.com
- ServerAlias bbxchina.com www.bbxchina.com hkvps.bbxchina.com
- ErrorDocument 400 /errpage/400.html
- ErrorDocument 403 /errpage/403.html
- ErrorDocument 404 /errpage/404.html
- ErrorDocument 503 /errpage/503.html
- ErrorLog "logs/bbxchina.com_error_log"
- php_admin_value open_basedir /www/web/bbxchina_com:/tmp
- <IfModule mod_deflate.c>
- DeflateCompressionLevel 7
- AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php
- AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
- </IfModule>
- </VirtualHost>
- <Directory /www/web/bbxchina_com>
- Options FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
-
復制代碼
網站打開是500錯誤,用的二級域名hkvps.bbxchina.com測試訪問的,thinkPHP程序框架 |