From: Michael M. <mi...@gn...> - 2007-02-08 18:24:49
|
Hi By now I'm thinking this is a bug in AA. We run aa-2.10.0 Using my RewriteRule and redirecting to phpinfo displays the correct als. Redirecting to view.php3 adds the two backslashes. I think what happens is that in case of being called by <!--#include="/apc-aa/view.php3"--> ActionApps tries to parse the $_SERVER['QUERY_STRING'] and gets it wrong for some reason. Michael On Wednesday 07 February 2007 11:34, Michael Moritz wrote: > Hi > > I am experimenting with mod_rewrite to make AA URLs more readable and also > parseable for log file analysers. Now I have run into what seems a silly > problem: > > If you have a rule like this > > RewriteRule ^/sub-440625$ /sub.shtml?als[cid]=440624&debug=1&nocache=1 [NE] > > it reaches AA/PHP as > > Starting view > ParseViewParameters: vid=XXX, query_string=cmd:set:als:Array ( [cid\] => > 440624\ > > Note the two trailing backslashes. It seems to be caused by the square > brackets > > Any ideas how to fix this? > > Thanks, > > Michael > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > "Did you get answers to your ActionApps-related queries? If yes, please > help the ActionApps community by uploading the answers onto appropriate > space in the ActionApps documentation wiki. See the *How to contribute* > section today http://actionapps.org/en/How_To_Contribute" > _______________________________________________ > apc-aa-general mailing list > apc...@li... > https://lists.sourceforge.net/lists/listinfo/apc-aa-general |