I found that the httpd.conf that comes with the source from apache.org is very 
descriptive with comments, for  someone like me to follow. The suse config was 
not 'immediately' clear at all. Same with Debian.
Of course, binary install was working fine before I messed it up :( But, how 
else to learn.. 

Dharam
Content-Type: multipart/signed; boundary="nextPart1185251.I1xGGLi0Qp";
        protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit


--nextPart1185251.I1xGGLi0Qp
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

In the httpd.conf file, there should be an entry for ServerRoot.  This need=
s=20
to point to the directory where the executables are installed - in your cas=
e,=20
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=
=20
point to where the web files reside.  (shouldn't be the same as the=20
ServerRoot).

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

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

Just out of curiosity, why did you not use the install method of your distr=
o?=20
(apt-get, yum, emerge, etc....)  If the only change you made to the=20
default .configure was to set the layout, then this probably would have bee=
n=20
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=3DRedHat,
> 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 directori=
es
> 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

--nextPart1185251.I1xGGLi0Qp--
_______________________________________________
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
_______________________________________________
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