Apache Document Root

Apache Document Root

am 26.03.2010 15:05:17 von Carlos Williams

I for whatever reason am unable to locate the Apache 'DocumentRoot'
directory setting in '/etc/apache2/apach2.conf' file. I normally would
find his in httpd.conf but that is emptry in Debian and they use
'apache2.conf' for whatever reason. Can someone please tell me why in
my 'apache2.conf' file there is no DocumentRoot parameter listed? I
want to change the default /var/www to /var/www/html.

Thanks!

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache Document Root

am 26.03.2010 15:25:21 von Mark Watts

--=-CuFTgCE5JhCdqeL8AkH5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 2010-03-26 at 10:05 -0400, Carlos Mennens wrote:
> I for whatever reason am unable to locate the Apache 'DocumentRoot'
> directory setting in '/etc/apache2/apach2.conf' file. I normally would
> find his in httpd.conf but that is emptry in Debian and they use
> 'apache2.conf' for whatever reason. Can someone please tell me why in
> my 'apache2.conf' file there is no DocumentRoot parameter listed? I
> want to change the default /var/www to /var/www/html.
>=20
> Thanks!
>=20
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>=20

http://wiki.apache.org/httpd/DistrosDefaultLayout#Debian.2C_ Ubuntu_.28Apach=
e_2.29:

/etc/apache2/sites-available/default contains the default VirtualHost
and thus the default DocumentRoot.


Mark.

--=20
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg

--=-CuFTgCE5JhCdqeL8AkH5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkusw9EACgkQBn4EFUVUIO0eNACfTDlxS+H7kPnHOAb2kEOk ZdzQ
p8kAoPaMdwi2Lcln89LOwl4ZI69XYl4v
=tBNv
-----END PGP SIGNATURE-----

--=-CuFTgCE5JhCdqeL8AkH5--