打開網站突然發現網站無法打開了,一臉懵逼,服務器重啟也不行,明明能ping通,網上查的答案千奇百怪的
500 Internal Privoxy Error
Privoxy encountered an error while processing your request:
Could not load template file no-server-data
or one of its included components.
Please contact your proxy administrator.
If you are the proxy administrator, please put the required file(s)in the (confdir)/templates
directory. The location of the (confdir)
directory is specified in the main Privoxy config
file. (It's typically the Privoxy install directory).
排查方法:
打印錯誤日志查看:
終端輸入
tail -f /var/log/apache2/error.log
看到錯誤日志:
修改代碼錯誤,好了正常了~