You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Mike Mander <wi...@gmx.de> on 2011/04/05 14:05:54 UTC

Can i catch all urls ending with .php?

Hi,

i have to build a redirect page for urls ending with .php.
If i mount the page with "*.php" Path i get a 404.

Is this possible?

Thanks
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Can i catch all urls ending with .php?

Posted by Mike Mander <wi...@gmx.de>.
Am 05.04.2011 14:08, schrieb Wilhelmsen Tor Iver:
>> i have to build a redirect page for urls ending with .php.
>> If i mount the page with "*.php" Path i get a 404.
> Sounds like something that is better handled with a traditional ServletFilter than anything Wicket.
>
> - Tor Iver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Thanks Tor for this great reply. You absolutely right. I've found an 
example on something similiar here.
http://viralpatel.net/blogs/2009/02/http-session-handling-tutorial-using-servlet-filters-session-error-filter-servlet-filter.html

Thanks again
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Can i catch all urls ending with .php?

Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> i have to build a redirect page for urls ending with .php.
> If i mount the page with "*.php" Path i get a 404.

Sounds like something that is better handled with a traditional ServletFilter than anything Wicket.

- Tor Iver

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org