wymwym
2017-04-27 19:38
RewriteEngine on RewriteCond %{REQUEST_FILENAME} .*\.(jpg|jpeg|png|gif) [NC] RewriteCond %{HTTP_REFERER} !^ http://localhost/.*$[NC] RewriteRule .*error.jpg
网页报错内容:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
RewriteRule .*error.jpg 是这里错了,要注意 .*和error.jpg中间有个空格:RewriteRule .* error.jpg
我也是这个错,很蒙蔽啊
记得是放在根目录下 而不是子文件的目录下
apache 500报错 一般都是程序代码出现了错误
PHP中的HTTP协议
33411 学习 · 54 问题
相似问题