apache - Why do my url rewriting rules throw me a 500 Internal Server Error on my localhost? -
note: have uncommented line loading rewrite_module
i have following .htaccess
:
setenv php_ver 5_4 options +followsymlinks rewriteengine on rewriterule ^lang/(.+)/(.+)$ index.php?mod=lang&lang=$1&url=$2 [l] rewriterule ^(.+)/(.+)/(.+)/(.+).html$ index.php?mod=$1&var=$2&svar=$3&tvar=$4 [l] rewriterule ^(.+)/(.+)/(.+).html$ index.php?mod=$1&var=$2&svar=$3 [l] rewriterule ^(.+)/(.+).html$ index.php?mod=$1&var=$2 [l] rewriterule ^(.+).html$ index.php?mod=$1 [l]
it works fine on remote server in local 500 internal server error. using uwamp (portable version of wamp server) php 5.4. used work on old computer not on new 1 (both on windows 7) can ?
Comments
Post a Comment