Homepage on a Apache2 server

Gareth Bowker tgb at tgb.org.uk
Thu Dec 23 17:53:43 UTC 2004


On Thu, 2004-12-23 at 11:02 -0500, Drew, Bill wrote:
>  I am unable to find step by step instructions any where on what I need
> to do to create a new default homepage for Apache2.
> I am not talking about the html itself, I am talking about what I need
> to change in other files to change it away from the default testpage.
> Where will the new homepage be located and what file name?  I am a
> newbie to linux and Apache.  I am unable to find the instructions Ineed
> in any of the apache2 documentation.

Look in /etc/apache2/sites-available/default

The offending line looks like:

RedirectMatch ^/$ /apache2-default/

Comment it out and it'll try to use /var/www/index.html as the default
then, assuming you've not changed anything else.

Gareth





More information about the ubuntu-users mailing list