Ah, mod_rewrite will solve my problem. Didn't even know that such a 
module exists. :P Sorry the spam.

Harri


On Mon, 14 Jan 2002, Harri Varpanen wrote:

> Hi folks,
> 
> I have a server (myapp.net, say) running apache, tomcat3.3 and mod_jk. Now 
> I'd want that every request to the server is mapped to a dispatcher 
> servlet that performs user authentication (from a remote Oracle database) 
> and loads a page (possibly a frameset containing other servlets) according 
> to the path info it gets from getPathInfo(). For example, 
> http://myapp.net/fi/org1 would load a finnish default page for 
> organization "org1" and http://myapp.net/us/org2/search would load a US 
> search page for organization "org2".
> 
> I can't figure out how to accomplish this without getting into a loop 
> where even the dispatcher servlet can't load anything else but itself. 
> Allowing the default address to be http://myapp.net/myapp would solve the 
> problem, but that isn't very nice. Any ideas?
> 
> Regards,
> 
> Harri
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to