Re: Apache: The requested URL / was not found on this server.
Michael
I 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.
Regards
Nick
#!/bin/sh
cd /etc/apache2/sites-enabled
ln -s /etc/apache2/sites-available/000-monaco 000-monaco
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:
/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 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-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: