Hi,
I have requirement where in
www.abc.com/languagecode/books/
url should redirect to
/nameofcontextpath/viewBook.form ?name=travellbooks
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/([A-Za-z]{2})/books/$ /nameofcontextpath/viewBook.form [PT,L]
</IfModule>
when i open new browser window and try to hit the url (www.abc.com/languagecode/books/)
it does not work.
i.e www.abc.com/languagecode/books/
on this hit. It rewrites
www.abc.com/nameofcontextpath/viewBook.form ...and user is able to c the application related path which he should not.
and whole functionality breaks.
However when I hit the same url twice in single internet browser window it works fine.
i.e www.abc.com/languagecode/books/
on this hit.it loads appropiate form.
Can somebody please help me fixing this bug ?
thanks,
Sam[/b]