[99598] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Apache-httpd problems

daemon@ATHENA.MIT.EDU (Ronnie Thum)
Sun Nov 15 23:42:39 1998

Date: Mon, 16 Nov 1998 12:42:45 +0800 (MYT)
From: Ronnie Thum <cwthum@network2.cs.usm.my>
To: redhat-list@redhat.com
In-Reply-To: <3.0.1.32.19981115150947.006bfc14@pop.microtec.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Try to set ServerName to your IP instead.
Or try lynx <IP>.
Is your lynx setup properly ? Are accessing through a proxy ?
If yes, you need the edit the http_proxy in lynx.cfg

HTH

Ronnie

On Sun, 15 Nov 1998 aromes@microtec.net wrote:

> Hi,
> I ve installed apache-httpd-1.1.11 and ended with configuration files
> access.conf,srm.conf, and httpd.conf. I did set them as the docs
> recommended but when I use one on my user's account, or even as user root,
> and I do "lynx http://<IP_of_MYWEBSERVER>" or  "lynx
> http://<DomainName_of_MYWEBSERVER>"or "lynx http://<LocalHost>", I always
> got error:
> "UNABLE TO CONNECT TO REMOTE HOST".
> Here are my setting files:
> 
> ->In access.conf, default settings are still there:
> <Directory /home/httpd/html>
> order allow,deny
> AllowOverride None
> Options None
> # Control who can have access to this server
> order allow,deny
> allow from all
> ->In httpd.conf:
> ServerType standalone
> port 80
> HostnameLookups on ( I even tried put it at off)
> User nobody 
> Group nobody
> ServerRoot /etc/httpd/apache
> BindAdress 192.168.1.4 #Ip adress of the PC on which I ve installed the 
> 			   #the webserver
> ServerName www.SonyLloyd4.microtec.net # My machine's Hostaname is
> 					     #SonyLloyd4 and domain is 
> 					      # microtec.net
> 
> 
> #
> Listen 192.168.1.4 #I did add this entry just because I couldnt get
> 			#to my own web server from my own machine!
> 
> ->In srm.conf:
> DocumentRoot /home/httpd/html
> UserDir public_html # I even created directory public_html in
> 			#my user's home directories.
> AccessFileName .htaccess
> 
> I also added an entry in /etc/hosts for my webserver:
> 192.164.1.4 www.SonyLloyd4.microtec.net
> and in /etc/resolv.conf:
> domain microtec.net
> search www.SonyLloyd4.microtec.net
> nameserver 192.168.1.4
> 
> I m running Linux kernel 2.0.29 and a viewing of my processes
> confirm that httpd is loadde automatically. along with it's config files.
> 
> Thanks for helping
> 
> Marc Lane
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> 		http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with 
>                        "unsubscribe" as the Subject.
> 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post