php - REQUEST_FILENAME consider requset as real file in live server but in local consider it as not file -
i have htaccess
<ifmodule mod_rewrite.c> rewriteengine on rewriterule ^(mdiet|user)($|/) - [l] rewritecond %{request_filename} !-f rewritecond %{request_uri} !(\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [nc] rewriterule ^(.*)$ route.php?q=$1 [nc,qsa,l] </ifmodule>
when call url in localhost: http://localhost:8080/comm_cvs/comm/web/group_items
htaccess undestand group_items not file , redirect request route.php , went ok.
but when move code server: behaivior not expected
when call: www.mysite.com/group_items => htaccess consider file , go group_items.php directly without redirect route.php.
what's problem in live server??
Comments
Post a Comment