[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache and php



On Wed, Nov 20, 2002 at 11:42:46AM -0500, Matthew Weier O'Phinney wrote:
> -- Chris Lale <ctlale@coolscience.co.uk> wrote
> (on Wednesday, 20 November 2002, 03:06 PM +0000):
> > Matthew Weier O'Phinney wrote:
> > > You enter it in httpd.conf as "127.0.0.1" but you /access/ it in your
> > > /browser/ as http://127.0.0.1/ -- that was the point I was making.
> > 
> > Well, no. I have not altered this part of the file since it was created
> > by some installation (probably the apache .deb package). An installation
> > program entered or modified the entry. Here is the complete line in
> > httpd.conf.
> > 
> > ServerName http://127.0.0.1/
> 
> I stand corrected. I've never seen that this notation was allowed
> before. It certainly doesn't make much sense -- http is the protocol for
> a url... Oh, well.

I suspect that it's not checked in any particular way when the server
loads the configuration but may result in strange results further down
the line. I'd certainly suggest using simply "ServerName 127.0.0.1".

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: