Apache on Debian Stable

JoeHill joehill-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Mon Mar 13 03:31:15 UTC 2006


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?

-- 
JoeHill / RLU #282046 / www.freeyourmachine.org
+++++++++++++++++++++++++++
Ya know they murdered X And tried to blame it on Islam He turned the power to
the have-nots And then came the shot -- Rage Against the Machine
--
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