[plug] Apache2 questions

Tomasz Grzegurzko tomasz89 at gmail.com
Thu Sep 28 10:52:36 WST 2006


On 9/28/06, Lee Jamieson <leejam at gmail.com> wrote:
> Hi all
>
> I apologise in advance for this question or two, but I must not be
> googling the right search string or otherwise being dense in my
> reading of the Apache2 docs.
>
> I've got Debian (netinst webserver and printserver) on a P2 with 194Mb
> ram.  I've installed samba and webmin so I have access to this box
> from my other computer.
>
> Again, sorry for the densness of these questions.
>
> 1.  Where does Apache2 put it's default webpage?
>
> 2.  Is it possible to change that default, and have apache2 serve from
> another directory rather than it's default?  How do I do that?  I'm
> not very confident on the CL and the text editors scare me.
>
> I have installed Midnight commander as well.
>
> If anyone could help, that would be wonderful.
>
> Thanks in advance.
>
> --
> -
> Regards,
>
> Lee Jamieson
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>

Check in /etc/apache2/sites-enabled. There will be files there that
define the sites up and running. If you want a new one, put the config
in /etc/apache2/sites-available and use
# a2ensite <newsitename>

Most of the power of Linux is in the CLI; I'd suggest at least a poke.. =)

Regards,
Tomasz



More information about the plug mailing list