Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache htaccess-获取某些关键字的错误500_Apache_.htaccess_Mod Rewrite - Fatal编程技术网

Apache htaccess-获取某些关键字的错误500

Apache htaccess-获取某些关键字的错误500,apache,.htaccess,mod-rewrite,Apache,.htaccess,Mod Rewrite,我有以下htaccess重写规则: AddDefaultCharset utf-8 # PHP 5, Apache 1 and 2. <IfModule mod_php5.c> php_value magic_quotes_gpc 0 php_value register_globals 0 php_value session.auto_start 0 php_value safe

我有以下htaccess重写规则:

AddDefaultCharset utf-8

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value safe_mode              0
</IfModule>

RewriteEngine On
#RewriteBase /
RewriteRule ^category_(.*)\?*\.html$ index.php?route=product/category&path_keyword=$1 [L,QSA]
RewriteRule ^(.*)\?*\.html$ index.php?route=product/product&product_keyword=$1 [L,QSA]
但对于这一个,我得到500个内部服务器错误

http://www.example.com/Revlon_Unique_One_Hair_Treatment.html
服务器是Debian6/apache2/php5.4


“露华浓独特的头发护理”关键字和其他关键字有什么不同

检查你的错误日志那里没有什么特别的!如果出现500个错误,apache错误日志将显示该错误的详细信息
http://www.example.com/Revlon_Unique_One_Hair_Treatment.html