You can use mod_rewrite in combination with virtual hosts. Within each virtual host block use the Include statement to include the site specific rules for that virtual host. Apache can communicate in 3 different ways with an application server like tomcat: 1. Using mod_proxy you can proxy url's from apache to your web application server 2. Using mod_jk, this allows yousend specific requests to your application server 3. Using a special apache module. JRun has a special connector which allows you to use the apache document root in requests. Hope this helps. Greetz Erik
On Tue, Dec 30, 2008 at 7:58 PM, Brian Holmes <[email protected]>wrote: > > I set up my dev environment running Apache and forwarding the request > to Tomcat as per the video and explanation on the openbd wiki site : > http://wiki.openbluedragon.org/wiki/index.php/Apache_Tomcat > > To get url rewrites to work do I need an .htaccess file in my > application in tomcat under webapps? as in tomcat/webapps/ > mywebapp/.htaccess ? I put one there and it doesn't seem to do > anything. Calls to my server that are physically undefined are > returned 404. > > Is there anything else I need to do? I don't want to use the SES > because I don't want the .cfm in the url. I've been looking online for > documentation and seem to be chasing my tail around on this issue. I > want all request to my app to go through the index.cfm page at the > root of my app. I'm going to server static files and images from > another location. > > Any help is appreciated. > > > > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official blog @ http://blog.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
