You can use mod_rewrite and mod_proxy to do just this (at least if you 
are using apache).  See http://www.engelschall.com/pw/apache/rewriteguide/

jeff

Chris Stephens wrote:

> Hi folks,
> 
> Apologies if this is a newbie question but I've looked around a fair bit 
> (inc. the archives of this list) and can't find an answer.
> 
> I want my users to enter in URLs like 
> http://www.domain.com/products/zips and for this URL to be a"front" for 
> a completely unrelated URL (e.g. /webappname/do/showall?id=zips [I'm 
> using Struts btw for my current project but I'd like to achieve the 
> rewrite outside of Struts]).
> 
> Where is the best place to do this URL rewriting? It needs to be a 
> "forward" rather than a "redirect" (I don't want the actual URL showing 
> in the browser).
> 
> Should I use 2.3 filters? Or is there a better way? Is there something 
> already written to do this?
> 
> TIA,
> 
> Chris
> 
> 
> *********************************************************************
> This email and any files transmitted with it may be confidential and
> privileged.  It is intended solely for the use of the individual or
> parties to whom it is addressed. If you have received this email in
> error please forward it to [EMAIL PROTECTED] and delete all
> copies of this message immediately. Thank you.
> *********************************************************************
> 
> 
> -- 
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 


-- 
Jeffrey Bonevich
Ann Arbor, Michigan
[EMAIL PROTECTED]
http://www.bonevich.com

Hwæt! Wë Gär-Dena   in geär-dagum,
peod-cyninga,       prym gefrünon,
hü ða aepelingas   ellen fremedon!


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to