[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Apache2 on Debian



> 
> 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



Reply to: