apache - htaccess is partially working on ip server domain -
i have ip server 23.43.53.23 , cms root folder index.jsp , second.jsp there
now when apply short changes in .htaccess file :
rewriteengine on <ifmodule dir_module> directoryindex second.jsp </ifmodule>
then's works...
but when put rewrite rule like
rewriteengine on rewriterule ^second/([^/]*)/?(.*)$ second.jsp?name=$1&page=$2
and pass value
http://xx.xx.xx.xx:8080/cms/second.jsp?name=en&page=ro
then not working..
any clue?
you cant use rewrite rule in apache tomcat use mod_jk or virtual host
Comments
Post a Comment