just rename your war to something else before deploying it.

-igor

On Thu, Jul 16, 2009 at 8:25 AM, Anton
Veretennikov<[email protected]> wrote:
> Hello, wicket users and developers,
>
> This is a problem I can't work out myself, I need your help.
>
> In a local environment (direct calls to Tomcat) AjaxFormSubmitBehavior
> works as expected.
> But in production I try to hide application name (let's say,
> AppNamePay-1.0-SNAPSHOT) from URL using RewriteRule.
>
> Logs show that somehow application name bobs up when I create a link
> with AjaxFormSubmitBehavior.
> This can be seen from httpd logs (302 status):
>
> xx.22.151.6 - - [16/Jul/2009:14:14:30 +0000] "GET
> /AppNamePay-1.0-SNAPSHOT/?wicket:interface=:0:5::: HTTP/1.1" 302 312
> "http://sitename.com/?wicket:interface=:0:4:::"; "Mozilla/5.0 (Windows;
> U; Windows NT 5.1; ru; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6"
>
> And from catched calls using HttpFox:
>
> GET     302     Redirect to:
> http://sitename.com/AppNamePay-1.0-SNAPSHOT/?wicket:interface=:0:3:::   
> http://sitename.com
> /?wicket:interface=:0:outterDiv:leftPanel:content:updatableDiv:hidableDiv:electronicUpdatable:list:0:item:border:switch:buttons2:acceptSum:2:ILinkListener::
> (Status-Line)   HTTP/1.1 302 Moved Temporarily
> GET     302     Redirect to:
> http://sitename.com/?wicket:interface=:0:3:::   
> http://sitename.com/AppNamePay-1.0-SNAPSHOT/?wicket:interface=:0:3:::
> (Status-Line)   HTTP/1.1 302 Found
>
> How it could be that wicket knows about AppNamePay-1.0-SNAPSHOT?
> Other Ajax stuff seems working without problem.
>
> Wicket is 1.4-rc7
>
> --Tony
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to