On Saturday 30 December 2006 10:40, Maurizio Lemmo - Tannoiser wrote:
> * venerdì 29 dicembre 2006, alle 22:00, Filippo Boschetti scrive:
> > > > Qualche suggerimento?
> > >
> > > /etc/apache2/mods-enabled/php5.load ?
> >
> > esiste e contiene
> > LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
>
> Potrebbe essere utile verificare cosa dice /var/log/apache2/access.log e
> error.log (stessa directory).
error.log:
...
[Fri Dec 29 22:40:03 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2
configured -- resuming normal operations
[Fri Dec 29 22:40:50 2006] [notice] caught SIGTERM, shutting down
[Fri Dec 29 22:40:50 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2
configured -- resuming normal operations
//qui ho tolto Indexes nella root
[Fri Dec 29 22:40:52 2006] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/
[Fri Dec 29 22:44:58 2006] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/
[Sat Dec 30 09:53:34 2006] [notice] caught SIGTERM, shutting down
[Sat Dec 30 10:01:10 2006] [notice] Apache/2.0.55 (Ubuntu) configured --
resuming normal operations
[Sat Dec 30 10:01:11 2006] [notice] caught SIGTERM, shutting down
[Sat Dec 30 10:01:11 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2
configured -- resuming normal operations
[Sat Dec 30 10:04:15 2006] [error] [client 127.0.0.1] Directory index
forbidden by rule: /var/www/
[Sat Dec 30 11:03:45 2006] [notice] caught SIGTERM, shutting down
[Sat Dec 30 11:03:46 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2
configured -- resuming normal operations
in access.log ho 87 righe così:
127.0.0.1 - - [30/Dec/2006:10:04:15 +0100] "GET / HTTP/1.1" 403
287 "-" "Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.0.8) Gecko/20061115
Ubuntu/dapper-security Firefox/1.5.0.8"
Preso da lieve sconforto ho deciso di sputtanare il server (debian stable -
sarge) installando con apt-get apache2, php4, mysql e phpmyadmin.
Ho installato alcuni pacchetti consigliati, riavviato apache2... et voilà,
sistema di prova installato e funzionante.
Meno male che Ubuntu è debian-derivata! :-(
ciao
Filippo Boschetti
--
Ci vuole tutta la vita per imparare a vivere e, quel che forse
sembrerà più strano, ci vuole tutta la vita per imparare a morire.
(Seneca)
http://www.danzainsieme.it
|