cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: Load Balancing web applications with mod_proxy...
Date Thu, 04 Dec 2003 18:05:43 GMT
On 4 Dec 2003, at 16:01, Tony Collen wrote:
> Pier Fumagalli wrote:
>> On 4 Dec 2003, at 00:57, Tony Collen wrote:
>>> It's easy: for each vhost, create whatever subsitemaps you want in 
>>> Cocoon, then in each vhost config in httpd.conf, do something like:
>>>
>>> -------------------------------
>>> <VirtualHost 111.222.333.444>
>>>   ServerName    example.com
>>>   ServerAlias   www.example.com
>>>   ServerAdmin   root@example.com
>>>   DocumentRoot  /usr/local/vhosts/example.com
>>>
>>>   ProxyPass             /static/ !
>>>   ProxyPass             / http://localhost:8888/cocoon/example/
>>>   ProxyPassReverse      / http://localhost:8888/cocoon/example/
>>> </VirtualHost>
>>> -------------------------------
>>>
>>> I'm using this on openWeather.com and it works perfectly.  My dream 
>>> is to have all of my virtualhosts hosted this way, but that might 
>>> never happen :^)
>> Are you sure that cookie-based sessions will actually work? :-)
>
> Hmm, not sure.  Perhaps I should have said, "it works for what I 
> need"..
>
> Who needs cookies anyway?  :)

Hmm... Sessions! :-)

	Pier


Mime
View raw message