Apache woes

Ken Schweigert yellowdog-general@lists.terrasoftsolutions.com
Tue Mar 16 08:42:00 2004


On Tue, Mar 16, 2004 at 08:37:00AM -0700, Francis X. Maier wrote:
> I'm having a difficult time setting up a simple Apache server on my 
> Yellow Dog Linus 3.0 box.
> 
> 1.  I use vi to go into /etc/httpd/conf/httpd.conf
> 
> 2.  I write the ServerName as my static IP (don't have a domain name).
> 
> 3.  I tell the server to listen to [static IP]:80
> 
> 4.  DocumentRoot is default /var/www/html
> 
> Do I need to remove the quotation marks in lines like "var/www/html" or 
> "/etc/httpd" to enable them?
> 
> When I try to connect to my static IP from another computer, the 
> connection just hangs and fails.  When I try to do it from my YDL box, 
> I get a "connection refused" message.
> 
> Any idea what I'm doing wrong?

I hate to ask the obvious, but is Apache running?  If so, did you restart
it after you made changes to httpd.conf?

	[root@www root]# ps ax|grep httpd

	[root@www root]# apachectl restart

-- 
Ken Schweigert, Network Administrator
Byte Productions, LLC
http://www.byte-productions.com