cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: mod_jk2 and file upload
Date Tue, 09 Nov 2004 22:54:56 GMT
Jorg Heymans wrote:
> Posting to the list in case this is useful to others...
> 
> (include mod-jk2.conf in your httpd.conf)
> 
> ================== mod-jk2.conf ==============
> LoadModule jk2_module modules/mod_jk2.so
> 
> <IfModule mod_jk2.c>
>     #-----------------------------------------------
>     # Set the Apache2 logger level
>     #-----------------------------------------------
>     #
>     JkSet2 logger level debug
>     #-----------------------------------------------
>     # Set the alternate log file
>     #-----------------------------------------------
>     #
>     JkSet2 logger.file:0 file ${serverRoot}/logs/jk2.log
>     JkSet2 logger.file:0 level debug
>     #-----------------------------------------------
>     # Set the scoreboard file
>     #-----------------------------------------------
>     #
>     JkSet2 shm: file ${serverRoot}/logs/jk2.shm
>     JkSet2 shm: size 1048576
>     #-----------------------------------------------
>     # Where to find the workers2.properties file
>     #-----------------------------------------------
>     #
>     JkSet config.file ${serverRoot}/conf/workers2.properties
>     #-----------------------------------------------
>     # Setup status worker
>     #-----------------------------------------------
>     #
>     JkSet2 status: info "Status worker, displays runtime information"
>     JkSet2 workerEnv: logger logger.file:0
>     #-----------------------------------------------
>     # Configure the /jkstatus handler
>     #-----------------------------------------------
>     #
>     <Location "/jkstatus">
>         JkUriSet group status:
>         JkUriSet info "Map the /jkstatus handler to the Web server uri 
> space"
>         Allow from all
>     </Location>
>     <Location "/*">
>         JkUriSet group lb:lb
>         JkUriSet info "Jetty load balancing and failover"
>     </Location>
> </IfModule>
> 
> ================= mod-jk2.conf END =================
> 
> ============= workers2.properties ==================
> [channel.socket:localhost:8310]
> port=8310
> host=127.0.0.1
> 
> [channel.socket:localhost:8320]
> port=8320
> host=127.0.0.1
> 
> [ajp13:localhost:8310]
> channel=channel.socket:localhost:8310
> 
> [ajp13:localhost:8320]
> channel=channel.socket:localhost:8320
> 
> [lb:balanced]
> worker=ajp13:localhost:8310
> worker=ajp13:localhost:8320
> 
> [uri:/*]
> group=lb
> 
> ================= workers2.properties END =================
> 
> You need to setup the ajp13 listener in your jetty config
>   <Call name="addListener">
>     <Arg>
>       <New class="org.mortbay.http.ajp.AJP13Listener">
>         <Set name="port">8310</Set>
>       </New>
>     </Arg>
>   </Call>
> 
> 
> HTH
> 
> Grzegorz TaƄczyk wrote:
> 
>> Hello Jorg,
>>
>>   Ok, It would be great!
>>
>> Tuesday, November 9, 2004, 9:27:18 AM, you wrote:
>> JH> Hi,
>>
>> JH> I am consistently uploading 400kb files over mod_jk2 to Jetty without
>> JH> problems. I can send you my mod_jk2 config if you want.
>>
>> JH> Regards
>> JH> Jorg
>>
>>
> 
Could you please wikify it ?

-- 
Leszek Gawron


Mime
View raw message