Apache on Debian Stable

Vince Hillier vince-WxfNDWQh5LNIo2TaICnI/Q at public.gmane.org
Mon Mar 13 03:34:08 UTC 2006


On Sun, Mar 12, 2006 at 10:31:15PM -0500, JoeHill wrote:
> On Sun, 12 Mar 2006 21:01:24 -0500
> Vince Hillier got an infinite number of monkeys to type out:
> 
> > > Anyhow, I noticed recently that when I went to check everything was running
> > > normally, I found that loading my webpage, one sees
> > > www.freeyourmachine.org/apache2-default/ as the root.
> > 
> > In /etc/apache2/sites-enabled/000-default there is a RedirectMatch
> > directive (marked with -->>> below):
> > 
> >         <Directory /var/www/>
> >                 Options Indexes FollowSymLinks MultiViews
> >                 AllowOverride None
> >                 Order allow,deny
> >                 allow from all
> >                 # Uncomment this directive is you want to see apache2's
> >                 # default start page (in /apache2-default) when you go
> >                 # to /
> >       -->>>     RedirectMatch ^/$ /apache2-default/
> >         </Directory>
> > 
> > Simple comment that out and no redirection will occur.
> > 
> > Providing your document root is setup, people will hit that doc root ;)
> 
> Worked like a charm, thanks! When I did the update, I probably missed something
> when Apache asked about keeping the old config maybe?

Hrm..  This usually only happens when you go from apache 1.x to 2.x...
were you running apache 1.3 prior to the upgrade?

-- 
Vince Hillier vince-WxfNDWQh5LNIo2TaICnI/Q at public.gmane.org
System Administrator
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list