RE: Apache2 on Debian

From: Roozemond, D.A. (D.A.Roozemond_at_student.tue.nl)
Date: 10/31/04

  • Next message: Wim De Smet: "Re: Why are company's not certifying Debian? - raid"
    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


  • Next message: Wim De Smet: "Re: Why are company's not certifying Debian? - raid"