In the httpd.conf file, there should be an entry for ServerRoot.  This needs 
to point to the directory where the executables are installed - in your case, 
it looks like this should be changed to read /usr/local/httpd.

Also, in the conf file, there is an entry for DocumentRoot.  This needs to 
point to where the web files reside.  (shouldn't be the same as the 
ServerRoot).

If the ServerRoot is not correct, you can expect all sorts of errors to be 
reported when you try to start the service.  If DocumentRoot is not correct, 
you will not be able to browse to your web pages.  (Although you can use 
virtual hosts and ignore/override the DocumentRoot setting).

This should be a start.  If you still get errors, post the messages to the 
list.

Just out of curiosity, why did you not use the install method of your distro? 
(apt-get, yum, emerge, etc....)  If the only change you made to the 
default .configure was to set the layout, then this probably would have been 
done by the distro's package manager.

Shawn


On Tuesday 15 November 2005 16:00, D Bhardwaj wrote:
> I did a make clean,
> ./configure --enable-layout=RedHat,
> make, make install.
> No errors - at least none that I detected.
>
> According to httpd.layout and httpd.conf, it should have created
> directories such as: /usr/local/apache2
> /etc/apache2
> /var/log/apache2
> ..etc
>
> Instead the directories are:
> /usr/local/httpd..
> and apache will not load (apachectl start). I can't recall the error.
>
> I have looked at ./configure --help and also apache.org docs but have not
> found out how to fix this.
>
> Looking at the binary install of apache on Debian and Suse, the directories
> are scattered and inconsistent. I just want to ensure an install based on
> apache defaults.
>
> Dharam
>
>
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying

Attachment: pgpJ4KRX6bhNH.pgp
Description: PGP signature

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to