struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <mark.l...@boxstuff.com>
Subject Re: workers2.properties
Date Tue, 01 Jun 2004 19:44:30 GMT
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 info@cksolutions.it
>         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   <charles.jordan@convergys.com>
>>   System Administrator    (407)771-8919
>>   Convergys
>>   285 International Parkway,
>>   Lake Mary, FL 32746-5007
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
>
>
>
>  --
>  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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message