More sensibly..
in server.xml <Host name="my.domain.com" debug="9">
<Context path="" docBase="/home/www/struts-example" />
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="mywebapp_access_log." suffix=".log" pattern="common" resolveHosts="false"/>
</Host>
This needs to match the stuff in your httpd.conf and you will have what you want.
The only problem you might get with jk2 is when your path has lots of slashes.. I had to check the head version out of cvs to get it working. And tend to use jk1 for production, and jk2 for staging only (just to test it out more).
Mark
On 1 Jun 2004, at 18:00, David Cervigni wrote:
Maybe it can be useful:
<VirtualHost 217.70.144.89> ServerName countryfitness.it ServerAlias *.countryfitness.it ServerAdmin [EMAIL PROTECTED] RewriteEngine On RewriteRule ^/$ /countryfitness/index.do [R] ProxyPass /countryfitness http://localhost:9000/countryfitness ProxyPassReverse /countryfitness http://localhost:9000/countryfitness </VirtualHost>
David Cervigni Il mar, 2004-06-01 alle 16:18, Charles Jordan ha scritto:This may be more apache specific, but I'm not sure.
I can access http://my.domain.com/struts-example but I want to be able to only type in http://my.domain.com to access my struts-example
Can anyone tell me how to do this?
Thanks.
Charles (Allen) Jordan <[EMAIL PROTECTED]> System Administrator (407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Amanti del digitale è arrivato il prodotto che aspettavate! Per ricevere i fax sul PC!
* Scoprite come cliccando qui
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1567&d=1-6k.cgi? mid=2116&d=1-6
--------------------------------------------------------------------- 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]