apache2 und suphp auf debian etch system

Alles, was den Apache betrifft, kann hier besprochen werden.

apache2 und suphp auf debian etch system

Postby atropin » 13. January 2007 12:08

hallo,

ich versuche auf einem debian etch system, apche2 mit suphp einzurichten. leider will mir das nicht wirklich gelingen.
beim aufruf einer php seite erhalte ich im browser diese meldung:
Code: Select all
The server encountered an internal error or misconfiguration

im error.log steht dann z.b.:
Code: Select all
[Fri Jan 12 14:37:25 2007] [error] [client 192.168.2.35] Premature end of script headers: index.php
[Fri Jan 12 14:37:31 2007] [error] [client 192.168.2.35] SoftException in Application.cpp:199: Script "/home/user/ftp/www/index.php" resolving to "/home/user/ftp/www/index.php" not within configured docroot

ohne suphp funktionierte die ausgabe.
die dateirechte dazu sehen so aus:
Code: Select all
-rw-r--r--  1 user user    8491 2006-12-24 21:21 index.php

laut dem log liegt die datei aber ja nicht im entsprechenden pfad, soweit ich das richtig verstehe. also habe ich in die
suphp.conf diese zeile aufgenommen:
Code: Select all
docroot=/home/user/ftp/www/

da scheint aber die syntax nicht zu passen:
Code: Select all
Syntax error on line 5 of /etc/apache2/mods-enabled/suphp.conf
perhaps misspelled or defined by a module not included in the server configuration

muss ich eventuell zusätzlich zu der /etc/apache2/mods-enabled/suphp.conf noch eine /etc/suphp.conf anlegen?
das modul php5 habe ich aus mods-enabled entfernt, ist das so richtig?
es wäre nett wenn mir jemand ein wenig auf die sprünge helfen könnte, zumal ich jetzt schon eine ganze weile an dieser stelle rumbastele.

grüße
atropin
atropin
 
Posts: 1
Joined: 03. January 2007 15:41

Return to Apache

Who is online

Users browsing this forum: No registered users and 15 guests