LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Jake Hawkes <jake@infinitylimited.net>
To : lloy0076 <lloy0076@rebel.net.au>
Date: Mon, 03 Apr 2000 11:37:55 +0930
Re: An SIMPLE Apache Problem
lloy0076 wrote:
>
> I start Apache manually with:
>
> * httpd -d `pwd` (or alternatively I type the directory myself)
>
> When I do ps -ax I have a huge number of httpd's appear as they should
> with the correct directory. Now I am certain there is SOMETHING I've
> missed along the way, but when I do:
>
> * lynx localhost
>
> I get the wonderful default "Apache is working" page.
>
> For a better understanding:
>
> I run a default installation of RH 6.1.
>
> /usr/local/www/conf/httpd.conf is
>
> User webuser
> Group webgroup
> Servername localhost
> DocumentRoot /usr/local/www/htdocs
>
> I start Apache in /usr/local/www.
>
> There must be something I've missed and I suspect it's something very
> simple....I should get an index of /usr/local/www/htdocs and NOT the
> Apache is working page and I can't quite figure out what's wrong or
> where RedHat is hiding the default configuration file.
You are missung the -f <conf_file_name> option.
so,
httpd -f /usr/local/www/conf/httpd.conf -d `pwd`
the default location for the conf is defined at apache compile time.
--
Jake Hawkes, B.Eng (CSE)
"I'm only smart enough to know how stupid I am", Joe Strummer.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page