php - .htaccess Rewrite Rules conflict -


i have .htaccess file written follows:

rewriteengine on  rewriterule ^/?([^/.]+)$ display.php?category=$1 [b,l]  rewriterule ^gallery/([^/.]+)/?$ gallery.php?category=$1 [l] rewriterule ^([-_\+a-za-z0-9,]+)$ displayitem.php?item=$1 [l]  rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^([^/]+)/([^/]+)/([^/]+)/?$ displayitem.php?item=$1&start=$2&page=$3 [l,qsa] 

the problem occurs while displaying displayitem.php?item=$1. when try execute command, page stay on previous page , displayitem.php not found.

this weird. if comment out following line:

rewriterule ^/?([^/.]+)$ display.php?category=$1 [b,l]  

which used pass utf-8 character, works fine , rules executed , parameters passed. however, utf-8 character not passed correctly , echo page not found.

please help!! thanks.


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -