Hi again,

i have changed my squid.conf httpd_accel_uses_host_header off <--  to "on"
then restarted squid and httpd but still the same problem, is there anything
else that i have to change ?
thanx for the fast reply.
Regards,

Arshad A. A.

----- Original Message -----
From: "Edel SM" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 02, 2004 3:29 PM
Subject: [plug] Re: Virtualhost Configuration Problems


> > Hi,
> >
> > I'm having problems running 2 websites at one IP address, the problem is
that always that i run http://www.company2.com it points me to the first
company website. It was working before when i was managing my DNS in the
same machine, but now our Nameserver is at our ISP. I just dont know what
happened.
> >
> > My httpd.conf is:
>
> --------------------------------------------------------------------------
----------------------
> > NameVirtualHost 196.46.1.90
> >
> >  <VirtualHost 196.46.1.90>
> >     ServerAdmin [EMAIL PROTECTED]
> >     DocumentRoot /var/www/html/comp1
> >     ServerName www.company1.com
> >     ErrorLog logs/www.company1.com-error_log
> >     CustomLog logs/www.company1.com-access_log common
> >  </VirtualHost>
> >
> >  <VirtualHost 196.46.1.90>
> >     DocumentRoot /var/www/html/comp2
> >     ServerName www.company2.com
> >     ErrorLog logs/www.company2.com-error_log
> >     CustomLog logs/www.company2.com-access_log common
> >  </VirtualHost>
>
> --------------------------------------------------------------------------
----------------------
> >
> > Please help me!
> > Any help will be grealy apreciated
> >
> > Regards,
> >
> > Arshad
>
> you might have proxy/cache server in between that dont support
> http/1.1. in squid config file, check the ff line:
>
>   httpd_accel_uses_host_header off <-- set this to "on"
>
> hth.
>
>
> --
> Edelberto S. Mania
> CISP/NOC
>
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
>
>


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to