Re: [Hampshire] Apache2 configuration

Top Page

Reply to this message
Author: Jim Kissel
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Apache2 configuration


john lewis wrote:
> I am have problems getting apache to display a web page
> with "URL /exodus not found" error.
>
> I had previously been able to display the default "It works!" page
> from /var/www indicating apache2 was actually working
>
> I had edited /etc/apache2/sites-available/default so it reads
> DocumentRoot /home/jayell/public_html/exodus
> <Directory /home/jayell/public_html/exodus>
>
> but left everything else alone.


Check who "owns" ....jayell/public_html/exodus
It must be readable by user apache

Check your error log /var/log/apache2/error.log
and the access file access.log in the same directory to see if your
httpd request is being noticed.

>
> I'd first played about with editing httpd.conf but then found a
> mention on-line that Debian Apache2 doesn't really use httpd.conf
> file but apache2.conf instead.
>
> It doesn't look as though I need to edit anything in apache2.conf.
>
> The "DocuumentRoot" contains various *.php files including index.php
>
> I restarted apache2 after editing the /sites available/default file.
>
> What have I missed?
>


--
Simple effective migration to Open Source based computing

Jim Kissel
Open Source Migrations Limited
w: http://www.osml.eu
e: jim.kissel@???
p: +44(0) 8703 301044
m: +44(0) 7976 411 679