apache und die lieben CGIs

Apache, Lighttpd, nginx, Cherokee
Post Reply
acetheface
Posts: 6
Joined: 2004-03-15 22:03
 

apache und die lieben CGIs

Post by acetheface »

vorab: ja, ich hab die Suche verwendet und alle posts angeschaut, aber nix hilft :(

ich will auf meinem Server ein Forum aufsetzen, nur die CGI will nich.

die error_log

Code: Select all

[Thu Mar 18 00:00:44 2004] [error] [client 217.224.63.175] 
Premature end of script headers: /var/www/web7/html/cgi-bin/ikonboard/installer.cgi
auszug aus der httpd.conf

Code: Select all

<VirtualHost 62.216.170.12:80>
ServerName web7.virdates.de
ServerAlias  [url]www.the-god-lan.de[/url] the-god-lan.de [url]www.the-god-clan.de[/url] the-god-clan.de
DocumentRoot /var/www/web7/html
Options +ExecCGI
User web7
Group ftponly
ScriptAlias /cgi-bin/ /var/www/web7/html/cgi-bin/
<Directory "/var/www/web7/html/cgi-bin">
         AddDefaultCharset Off
         Options FollowSymLinks Indexes
         AllowOverride All
         Options +ExecCGI
</Directory>
das script kann ich von der konsole aus aufrufen, ohne Probleme (bzw. ich bekomme den html-code vorgesetzt). Das Script funzt auch auf meinem Server @ home, es is also nich kaputt. Ich habe spasseshalber mal meine httpd.conf von meinem Server @ home (auf dem die CGIs laufen) genommen, mit dem gleichen Ergebniss...

die Rechte passen auch

Code: Select all

ls -al installer.cgi
-rwxr-xr-x    1 web7     ftponly      7717 Mar 17 23:51 installer.cgi
die restlichen Verzeichnisse davor sind ebenfalls auf 755

dennoch will er nich

Code: Select all

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete 
your request.

Please contact the server administrator, root@xxxxx 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.
Der Server lauft auf SuSE 8.2 und Apache 1.3.29


also warum zum Geier läuft der Mist nich??????
jlinker
Posts: 248
Joined: 2002-07-08 20:07
 

Re: apache und die lieben CGIs

Post by jlinker »

Hallo,
hast du das .cgi auch im Binary Modus hochgeladen? Wird der HTML-Header korrekt generiert?

Jürgen
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: apache und die lieben CGIs

Post by oxygen »

acetheface
Posts: 6
Joined: 2004-03-15 22:03
 

Re: apache und die lieben CGIs

Post by acetheface »

jlinker wrote:Hallo,
hast du das .cgi auch im Binary Modus hochgeladen? Wird der HTML-Header korrekt generiert?

Jürgen
habe es sowohl im binary, als auch im ASCII (wie es auch in der Readme stand) hochgeladen. Sogar lokal aus nem tarball entpackt.

@ øxygen
danke, das war schonmal ein guter Anfang. Nur leider will er bei mir nich so ganz. Muss ich mal noch dran basteln.
Post Reply