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

时间:2015-05-18 18:44:15

标签: 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_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]

它适用于这样的网址:

http://www.example.com/Makeup_Factory_Blusher_Brown_%20Bamboo.html
http://www.example.com/Clarins_Eye_Contour_Balm.html

但是对于这个我得到500内部服务器错误!

http://www.example.com/Revlon_Unique_One_Hair_Treatment.html

服务器是debian 6 / apache2 / php5.4

&#34; Revlon_Unique_One_Hair_Treatment&#34;关键字和其他人!??

0 个答案:

没有答案