[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache: The requested URL / was not found on this server.



On Sat, Jun 30, 2007 at 03:50:26PM -0400, Michael Pobega wrote:
> On Sat, Jun 30, 2007 at 06:17:30PM +0100, Nick Adie wrote:
> > On 6/30/07, Michael Pobega <pobega@gmail.com> wrote:
> > >
> > >-----BEGIN PGP SIGNED MESSAGE-----
> > >Hash: SHA1
> > >
> > >Thursday afternoon I reinstalled my i386 Debian installation as amd64
> > >(To compliment my Core 2 Duo), and everything's been working pretty good
> > >so far (Minus 3d rendering, but that's another story), but I'm having
> > >one serious problem in Apache.
> > >
> > >I reinstalled Apache2 and libapache2-mod-php5, and restored my old
> > >/etc/apache2 configuration files, but I'm getting the error
> > >
> > >> The requested URL / was not found on this server.
> > >
> > >If you need any of my configuration files just ask, the only one that I
> > >figure would effect anything would be
> > >/etc/apache2/sites-available/default, so here is my config:
> > >
> > > [cut config file]
> > >
> >
> > Michael,
> > 
> > I had a deal of trouble ut here is my solution:
> > 
> > [cut config file]
> > 
> > But remember you need to link 'available' to enabled, here's part of the
> > script that I used.
> > 
> > Regards
> > Nick
> > 
> 
> That was it, I removed sites-enabled and symbolically linked
> sites-available to sites-enabled, then restarted Apache and it began to
> work. I guess maybe this is a repercussion from moving my /etc from my
> i386 install to my amd64 install (Not that the architecture makes any
> difference, but I guess maybe moving the files broke the symbolic link).

You symlinked /etc/apache2/sites-enabled to 
/etc/apache2/sites-available?

Normally, they're both 'proper' directories - but the individual files 
in /etc/apache2/sites-enable are *symlinks* to 
/etc/apache2/sites-available.  The a2ensite/a2dissite are the tools 
intended to enable/disable sites...


-- 
Karl E. Jorgensen
karl@jorgensen.org.uk  http://www.jorgensen.org.uk/
karl@jorgensen.com     http://karl.jorgensen.com
==== Today's fortune:
Q:	How can you tell when a Burroughs salesman is lying?
A:	When his lips move.

Attachment: signature.asc
Description: Digital signature


Reply to: