> -----Original Message-----
> From: John Steel [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 17, 2007 9:16 AM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] IP address discimination
> 
> Boyle Owen wrote:
> >> I have 2 dedicated Fed linux servers, one running httpd 
> 2.0.51, which 
> >> does not show this problem, and the other running 2.0.53 
> which does. 
> >> Both host about 30 domains across 8 IP addresses each. The 
> >> problem I'm 
> >> trying to solve is an automatic redirection of 
> http://example.com to 
> >> http://www.example.com.
> >>     
> > If two different things happen to two configs that are 
> identical, then
> > they're not... 
> >
> > You must have a NameVirtualHost directive somewhere for 1.2.3.4 (any
> > included files?). Anyway, why fight it? You absolutely *need*
> > NameVirtualHost to do name-based virtual-hosting so just 
> type it in and
> > end the pain.
> >
> >   
> Agreed. Heres a fuller picture - I posted it this way in case you 
> experts spotted it right away. The servers run Plesk, which adds 
> truckloads of scattered httpd.conf include files all over the 
> shop. That 
> probably explains the "identical configs" problem, so I'll dig more. 
> Along with all that its a whole load of custom software depending on 
> Plesk 7.5. Other users trying to just yum their way from 
> FC3-FC6 break 
> things horribly and just revert back. I did FC2->FC3 but 
> thats the only 
> safe way. The medium term goal is to change servers, but the 
> custom s/w 
> is tedious to migrate (but it is happening). So basically I am back 
> where I started, looking for oddities, hoping 2.0.51/2.0.53 might be 
> diffrerent etc.
> > Couple of other points... 
> > - Why use ServerAlias instead of ServerName? Maybe it 
> works, but then I
> > guess you could drive a car by operating the clutch with your right
> > foot, too.
> >   
> The Plesk generated files have it and httpd.conf does not use 
> NameVirtualHost. It may be in some other file Plesk meddles 
> with. When I 
> do add it to the main httpd.conf I get a whole set of different 
> problems. Just to pre-empt, our apache is running mod_caucho, its a 
> module to wire resins app server between the 2 (this is part of the 
> custom software I mentioned).

Frankly, if you don't know for certain what's in the config, it's
impossible to advise a solution. I don't understand phrases like "does
not use NameVirtualHost" - if you want to do name-based VHing, you
*must* use NameVirtualHost. This is the very directive that makes
NBVHing work and if you don't put it in, it won't. It's not some
optional extra syntactic sugar or something...

> 
> Could I force the latest apache on FC3? Its kernel is 
> 2.6.12-1.1381_FC3.

I've no idea - why not try it? Download the latest tarball and compile
it. This is not such a leap in the dark - I'm sure there are thousands
of 2.2 servers running on Linux.

> Are all its configs backwardly compatible with 2.0.51?

There are several config changes between 1.3 and 2.2 so in general a 1.3
config can't be expected to work immediately on a 2.2 server. I'm not
too sure about 2.0, but I suspect there would be some changes required
(it all depends on the directives you use - 95% are unchanged but there
are always a few that have altered; mostly in mod_auth and mod_proxy...)

However, if the underlying config is broken (ie, has no NameVirtualHost
directive and tries to do name-based VHing) then upgrading won't help
you.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> 
> Thanks
> 
> -- 
> --------------------------
> http://www.phonewebcam.com
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to