The apache rewrite module (apache 2.4) gives me headaches, I need your help.
I try to redirect my unlogged users to another url and pass the original url as a callback argument.
When the url below is called :
http://myapp.com/context?arg1=value1&arg2=value2
then the user is redirected to :
http://myloginapp.com?callback=http%3A%2F%2Fmyapp.com%2Fcontext%3Farg1%3Dvalue1%26arg2%3Dvalue2
I have tried many flags ([NE], [B]) in my rewrite clause and tried some rewrite cond found in the forum without success...