Hi Frank
I have substituted my projectname with wicket. Below is the conf for
the proxy part.
<VirtualHost *>
ServerAdmin [EMAIL PROTECTED]
ServerName www.wicket.com
ServerAlias wicket.com
ProxyRequests off
ProxyPreserveHost On
RewriteEngine On
# Indexes + Directory Root.
DirectoryIndex index.html
DocumentRoot /var/wicket.com
# Logfiles
ErrorLog /var/log/apache2/wicket-error.log
CustomLog /var/log/apache2/wicket-access.log combined
ProxyPass / http://127.0.0.1:8080/wicket/
ProxyPassReverse / http://127.0.0.1:8080/wicket/
ProxyPreserveHost On
</VirtualHost>
2007/11/9, Frank Bille <[EMAIL PROTECTED]>:
> Sounds weird.
>
> Can you show me your apache conf for the proxy?
>
> Frank
>
> On Nov 9, 2007 12:44 PM, Murat Yücel <[EMAIL PROTECTED]> wrote:
>
> > Hi Frank
> >
> > I have changed the /app/* to /* but it doesnt change the urls. They
> > are still wrong.
> > For example i enter the following url:
> > www.wicket.com
> >
> > The url is transformed to
> > www.wicket.com/wicket/?wicket:bookmarkablePage=%3Acom.wicket.LoginPage
> >
> > If i remove the the wicket part from the url then i can see the login
> > page. But if i click
> > on a link then the wicket part is appended again.
> >
> > /Murat
> >
> > 2007/11/9, Frank Bille <[EMAIL PROTECTED]>:
> > > First of all, you don't need /app/* anylonger. just /*.
> > >
> > > I'm running behind proxy as well and it works well. Are you sure you
> > haven't
> > > run into this problem:
> > >
> > >
> > http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-Whythisdoesn%2527talwayswork
> > >
> > > Frank
> > >
> > >
> > > On Nov 9, 2007 11:56 AM, Murat Yücel <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hi All
> > > >
> > > > I have looked at this article:
> > > > http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html
> > > >
> > > > and it seems like the problem should be gone in wicket 1.3 but it
> > > > isnt. I still get 404
> > > > errors. There is a warning on the wiki page: "Don't use setContextPath
> > > > with Wicket 1.3".
> > > >
> > > > I am not setting the context path. Instead i am using filter-mapping.
> > > > Is this the same thing?
> > > >
> > > > <filter-mapping>
> > > > <filter-name>wicket</filter-name>
> > > > <!-- The app is needed for ajax (this is a known
> > > > limitation/bug in wicket) -->
> > > > <url-pattern>/app/*</url-pattern>
> > > > </filter-mapping>
> > > >
> > > > Do you have a workaround for this issue or am i doing something wrong?
> > > > I am currently running 1.3-beta4.
> > > >
> > > > Kind regards
> > > >
> > > > /Murat Yücel
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]