[Hippo-cms7-user] Odd apache behavior

Wouter Danes Wouter.Danes at hinttech.com
Fri Sep 7 16:44:18 CEST 2012


Nope, will that fix it? :)

-----Original Message-----
From: hippo-cms7-user-bounces at lists.onehippo.org [mailto:hippo-cms7-user-bounces at lists.onehippo.org] On Behalf Of Bart van der Schans
Sent: vrijdag 7 september 2012 16:41
To: Hippo CMS 7 implementation list
Subject: Re: [Hippo-cms7-user] Odd apache behavior

Hi Wouter,

Do you have "NameVirtualHost *:80" in your config?

Bart

On Fri, Sep 7, 2012 at 4:37 PM, Wouter Danes <Wouter.Danes at hinttech.com> wrote:
> I’m working on our test environment and trying to get Apache to behave 
> with Hippo. I’m seeing some weird things happen and I think someone 
> else on this list might have run into this before.. J
>
>
>
> Any Apache wizards that can lend a quick hand? What’s happening is 
> that whatever is the top VHost in the file will always match, so if I 
> put www on top, it will show the site, if I put cms on top it will show the cms.
>
>
>
> Here’s my Apache configuration:
>
>
>
> <VirtualHost *:80>
>
> ServerName www.XXX.hdc.htdev.nl
>
>
>
>         ProxyPreserveHost  On
>
>         ProxyPass                       /       http://127.0.0.1:8081/site/
>
>         ProxyPassReverse                /       http://127.0.0.1:8081/site/
>
>         ProxyPassReverseCookiePath      /site   /
>
> </VirtualHost>
>
>
>
> <VirtualHost *:80>
>
> ServerName cms.XXX.hdc.htdev.nl
>
>
>
>   ProxyPreserveHost Off
>
>
>
>   #INCLUDE THE EXTRA PROXYPASS RULE FOR /site HERE
>
>   ProxyPass /site/ http://127.0.0.1:8081/site/
>
>   ProxyPass / http://127.0.0.1:8081/cms/
>
>   ProxyPassReverse / http://127.0.0.1:8081/cms/
>
>   ProxyPassReverseCookiePath /cms /
>
> </VirtualHost>
>
>
>
> Met vriendelijke groet / Yours sincerely,
>
>
>
> ---
>
> Wouter Danes
>
> Competence Manager Hippo / Java / Alfresco
>
> Hinttech
>
>
>
> T: +31 6 1158 8264
>
> E: wouter.danes at hinttech.com
>
> @wouterdanes
>
>
>
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums 
> http://www.onehippo.org/cms7/support/forums.html



--
Amsterdam - Oosteinde 11, 1017 WT Amsterdam Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html


More information about the Hippo-cms7-user mailing list