View Single Post
  #2  
Old 29th July 2005, 11:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
Default

Quote:
How do you get rid of the default page http://www.example.com/apache2-default/. I just need to get rid of apache2-default and not break my debian apache box.
You must edit /etc/apache2/sites-available/default and comment out the following line:
Code:
RedirectMatch ^/$ /apache2-default/
Then restart Apache:
Code:
/etc/init.d/apache2 restart
Quote:
However when I access http://www.example.com/webalizer I get the standard browser output:
You must run webalizer manually or with a cron job so that it creates statistics in the webalizer directory. Something like

Code:
webalizer -n www.example.com -s www.example.com -r www.example.com -q -T -o /var/www/webalizer -c /path/to/webalizer.conf /var/log/apache2/access.log
might work. See man webalizer for more details.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote