View Single Post
  #13  
Old 29th October 2005, 05:36
maisy maisy is offline
Junior Member
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To get rid of the default page

http://www.example.com/apache2-default/

edit /etc/apache2/sites-available/default

and find on line 17

Quote:
RedirectMatch ^/$ /apache2-default/
and comment out so it looks like this

Quote:
# RedirectMatch ^/$ /apache2-default/
then restart apache /etc/init.d/apache2 restart

P.S don't forget to include a index.html file in your web root, mine is /var/www/index.html

hope this helps
Reply With Quote