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

-----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:

/etc/apache2/sites-available/default
> NameVirtualHost *
>
> ServerAdmin
>
> DocumentRoot /var/www/
>
> Options FollowSymLinks
> AllowOverride
> None
>
>
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order
> allow,deny
> allow from all
>
> [...] (There's more here, but it's all the default, I
> only changed the above)

- --
http://digital-haze.net/~pobega/ - My Website
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGhk9Og6qL2BGnx4QRAlARAJ95yWrPNL1CCPXOf+yDjfHhyuvrlgCfe1AE
ZMHfFVHOBk3u+LPI1tfVSDs=
=Vn1o
-----END PGP SIGNATURE-----

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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

MichaelI had a deal of trouble ut here is my solution:<VirtualHost *:80>                  ServerName webalizer.brokenmould.com        ServerAlias monaco webalizer
webalizer.brokenmould.com        DocumentRoot /var/www/monaco        ServerRoot /var/www/monaco     <Directory /var/www/monaco/phpmyadmin/>        AllowOverride All
     </Directory>        ScriptAlias /cgi-bin/ /var/www/~cgi-bin/monaco/        ErrorLog  /var/www/~log/monaco/error.log        CustomLog /var/www/~log/monaco/access.log combined        ErrorDocument 404 /404.htm
</VirtualHost><VirtualHost *:443>                  ServerName mail.brokenmould.com        ServerAlias mail        DocumentRoot /var/www/monaco/mail/
        ServerRoot /var/www/monaco/mail/     <Directory /var/www/monaco/mail/>        AllowOverride All     </Directory>        ScriptAlias /cgi-bin/ /var/www/~cgi-bin/monaco/     SSLEngine on
     SSLCertificateFile /etc/apache2/apache.pem        ErrorLog  /var/www/~log/monaco/error.log        CustomLog /var/www/~log/monaco/access.log combined        ErrorDocument 404 /404.htm</VirtualHost>
But remember you need to link 'available' to enabled, here's part of the script that I used.RegardsNick#!/bin/shcd /etc/apache2/sites-enabledln -s /etc/apache2/sites-available/000-monaco 000-monaco
On 6/30/07, Michael Pobega <pobega@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA1Thursday afternoon I reinstalled my i386 Debian installation as amd64(To compliment my Core 2 Duo), and everything's been working pretty goodso 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 Ifigure would effect anything would be/etc/apache2/sites-available/default, so here is my config:        /etc/apache2/sites-available/default
> NameVirtualHost *> <VirtualHost *>>         ServerAdmin pobega@gmail.com>>       DocumentRoot /var/www/>               <Directory />
>                       Options FollowSymLinks>                       AllowOverride>                       None>               </Directory>>               <Directory /var/www/>
>                       Options Indexes FollowSymLinks MultiViews>                       AllowOverride None>                       Order>                       allow,deny>                       allow from all
>               </Directory>>               [...] (There's more here, but it's all the default, I>               only changed the above)- --
http://digital-haze.net/~pobega/ - My WebsiteIf programmers deserve to be rewarded for creating innovativeprograms, by the same token they deserve to be punished if theyrestrict the use of these programs.
- Richard Stallman-----BEGIN PGP SIGNATURE-----Version: GnuPG v1.4.6 (GNU/Linux)iD8DBQFGhk9Og6qL2BGnx4QRAlARAJ95yWrPNL1CCPXOf+yDjfHhyuvrlgCfe1AEZMHfFVHOBk3u+LPI1tfVSDs==Vn1o-----END PGP SIGNATURE-----
--To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.orgwith a subject of "unsubscribe". Trouble? Contact

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Jun 30, 2007 at 06:17:30PM +0100, Nick Adie wrote:
> On 6/30/07, Michael Pobega 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).

Thanks for the help and the quick response!

- --
http://digital-haze.net/~pobega/ - My Website
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGhrQCg6qL2BGnx4QRAo7KAJ4w8J3zpKB+Vdis9/hwW7Jaayo8OwCfSjtK
1MyIRLPzSrrfXZMzSUpXzy0=
=XaMt
-----END PGP SIGNATURE-----

--

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 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
http://www.jorgensen.org.uk/
http://karl.jorgensen.com
==== Today's fortune:
Q: How can you tell when a Burroughs salesman is lying?
A: When his lips move.

Syndicate content