httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution
Date Thu, 10 Jan 2013 17:15:48 GMT
On Thu, Jan 10, 2013 at 12:03 PM, Tom Frost <fro5tie@yahoo.com> wrote:
> Hi Adam
>
> Thanks for your reply.
>
> Yes, I did c/p and then replace the domains with the placeholders.
>
> I too noticed that there wasnt any entry for url1.mydomain.com, and I have
> been down the same process you advised of starting with one working and
> gradually adding.
>
> So I start off with httpd.conf and the relevant lines are:
>
> NameVirtualHost *:80
>
> Include conf.d/*.conf
>
> <IfDefine PROXY>

Is this so that this vhost is only loaded in the case that the proxy
module is included in Apache?

If so, I would completely drop it. If the proxy_module is not
available, your website would not work anyway, and better to be told
that when starting apache, than apache to silently drop your vhost and
start up anyway.

If you did want to keep it (and I correctly guessed why it is there),
you should replace it with this:

<IfModule proxy_module>

I would just drop it though.

With this gone, httpd should see the url1.domain.com vhost as the
first and default vhost, and all should work. Please test.

Cheers

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message