Pigna
17-09-2002, 08:51
Ciao a tutti, ho un problema che non riesco a risolvere con l'installazione di apache e php.
Non è la prima volta che lo installo, ma è la prima volta che mi dà questi problemi .
Ho configurato Apache con tre VirtualHost e fin qui tutto bene, ho caricato i files dei siti nelle rispettive directory ma quando provo ad aprire un sito mi dà il seguente errore:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, me@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Se vado a vedere il log che riguarda quel virtual host mi ritrovo:
[Mon Sep 16 19:20:13 2002] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: d:/php/php.exe
Naturalmente il sito ha un index.php, se provo a caricare una pagina html me la carica senza problemi.
Ma non è tutto, se provo a digitare http://localhost/sito1/ il sito funziona perfettamente, ma se digito http://sito1 mi salta fuori il problema qui sopra
Cosa può essere???
Non è la prima volta che lo installo, ma è la prima volta che mi dà questi problemi .
Ho configurato Apache con tre VirtualHost e fin qui tutto bene, ho caricato i files dei siti nelle rispettive directory ma quando provo ad aprire un sito mi dà il seguente errore:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, me@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Se vado a vedere il log che riguarda quel virtual host mi ritrovo:
[Mon Sep 16 19:20:13 2002] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: d:/php/php.exe
Naturalmente il sito ha un index.php, se provo a caricare una pagina html me la carica senza problemi.
Ma non è tutto, se provo a digitare http://localhost/sito1/ il sito funziona perfettamente, ma se digito http://sito1 mi salta fuori il problema qui sopra
Cosa può essere???