Re: HTTP Bad Request 400 - apache on Fedora 8

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

 



On Mon, 2008-01-07 at 09:49 +0900, John Summerfield wrote:
> Bob Hartung wrote:
> > Hi all,
> >   I get the above error when (all machines on same private network):
> >         I try to access the server from the remote client by ip address; 
> > e.g.  http://xxx.xxx.xx.xx.
> >         With an entry into the client host file I can access the server 
> > with http://rwheserv1 without any problem.
> > 
> >   On the server, I can http://localhost okay but cannot http://127.0.0.1
> > 
> >   I changed httpd.conf to include:
> >     NameServer xxx.xxx.xx.xx
> >     UseCanonicalName On
> > 
> >   All firewalls have been turned off.
> > 
> >   The result is the same.  It is pretty obvious I am missing one point 
> > but darned if I can find the directive that I have failed to set.
> > 
> > Any suggestions appreciated.
> > 
> > Bob
> > 
> 
> The standard configuration works for me.
> links http://127.0.0.1/
> sudo service httpd start
> links http://127.0.0.1/
> links http://localhost/
> [summer@potoroo ~]$
> 
> the first got connection refused; not surprising as I've not used that 
> webserver.
> The last two links commands both produced the expected page.
----
sure seems as though OP's issue is that the top 3 lines of /etc/hosts
are different from...

$ head -n 3 /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost

as if someone edited this information and it's causing a problem

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux