RE: Apache2 on Debian
From: Roozemond, D.A. (D.A.Roozemond_at_student.tue.nl)
Date: 10/31/04
- Previous message: Andrea Vettorello: "Re: any comments on diagram?"
- Maybe in reply to: Michael Satterwhite: "Apache2 on Debian"
- Next in thread: Ollie Acheson: "Re: Apache2 on Debian"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 10:36:22 +0100 To: "Debian-User" <debian-user@lists.debian.org>
>
> I think what you are looking for is in
> /etc/apache2/sites-enabled/000-default. It redirects /var/www to
> /var/www/apache2-default.
>
Indeed. In /etc/apache2/sites-enabled/default (on my testing box) it
says
DocumentRoot /var/www/
which means a request http://myserver/blah/foo should be found in
/var/www/blah/foo, and a bit further down in that file it says
RedirectMatch ^/$ /apache2-default/
which means that a request http://myserver/foo should be translated to
http://myserver/apache2-default/foo, i.e. found in
/var/www/apache2-default/foo.
Dan
- Previous message: Andrea Vettorello: "Re: any comments on diagram?"
- Maybe in reply to: Michael Satterwhite: "Apache2 on Debian"
- Next in thread: Ollie Acheson: "Re: Apache2 on Debian"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]