[CLUE-Tech] Apache question

Collins Richey erichey2 at comcast.net
Tue Mar 16 14:52:11 MST 2004


On Tue, 16 Mar 2004 12:21:53 -0700
"Francis X. Maier" <franx at qwest.net> wrote:

> > Is apache running? What does 'netstat -na | grep 80'  show?
> 
> Jeff, here's what is shows:
> 
> >

[ Data snipped ]

The netstat display shows nothing listening on port 80, and apache is
not listed listening on another port.

Ergo, apache is probably not running

> > I'm having a difficult time setting up a simple Apache server on my
> > Yellow Dog Linus 3.0 box.
> >

> > 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
> >

All you need is 

	ServerName localhost
	Listen 80


> > 4.  DocumentRoot is default /var/www/html
> >
> > Do I need to remove the quotation marks in lines like "var/www/html"
> > or
> >

No "" needed. Remove them.

Look for errors in /var/log/apache[1]/error_log or
...startuperror.log

HTH,

-- 
Collins Richey - Denver area
gentoo testing 2.6.3-rc2 nptl udev



More information about the clue-tech mailing list