PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : cgi in /home/*/public_html/cgi-bin



daddel9
05.09.02, 18:44
der titel sagt alles ! ich will cgi's in /home/*/public_html/cgi-bin ausführen können . mit
<Directory /home/*/public_html/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>
oder
<Directory /home/beispielbenutzer/public_html/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>


bekomme ich ein internal servererror oder permission denied (das script läuft in der standart cgi-bin schon) was kann ich da noch machen ??


danke

Harry
05.09.02, 19:04
Hallo Daddel,

setz' mal ein "+" vor das "ExecCGI".

Harry

daddel9
05.09.02, 20:47
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@linux.local 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.



--------------------------------------------------------------------------------

Apache/1.3.23 Server at linux.local Port 63535


das bekomm ich dann *g* naja ... ich geb dir mal das ganze httpd.conf zug , das ich neu (ganz oben) eingefügt habe

<Directory /home/daddel9/public_html/cgi-bin>
AllowOverride None
Options +ExecCGI
</Directory>

ich bin langsam am verzweifeln *heul*

trotzdem danke

daddel9
06.09.02, 09:26
mögt ihr mich nicht , oder warum antwortet ihr nicht ??? ich bitte euch , nein , ich flehe euch an : helft mir ! ich bekomm das einfach nicht hin

termito
06.09.02, 09:45
du solltest narürlich die cgi-bin directory noch auf "chmod 755" setzen bzw auch das cgi_script

so sieht meinehttpd.conf aus
<Directory /home/*/public_html>
AllowOverride AuthConfig FileInfo Limit
Options MultiViews Indexes FollowSymLinks Includes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>
<Directory /home/*/public_html/cgi-bin>
AllowOverride None
Options +ExecCGI
</Directory>

daddel9
06.09.02, 11:52
Directory /home/*/public_html>
AllowOverride AuthConfig FileInfo Limit
Options MultiViews Indexes FollowSymLinks Includes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>

was bringt das genau ???

<Directory /home/*/public_html/cgi-bin>
AllowOverride None
Options +ExecCGI
</Directory>

das geht bei mir leider nicht . aber wenn alles zusammen funzt is ok ... ich würde nur gerne wissen ob es funzt

termito
06.09.02, 19:27
>was bringt das genau ???
Frag google.de
wenn dir das nichts sagt übernimms einfach, stand bei mir schon defaultmässig drinne in httpd.conf


>das geht bei mir leider nicht . aber wenn alles zusammen funzt is ok ... ich würde nur gerne wissen ob es funzt

funktionierts jetzt bei dir oder nicht ?
Bei mir funkt cgi - Obiges ist ein Auszug aus meiner aktuellen httpd.conf

daddel9
07.09.02, 00:49
> rcapache reload
PERL PHP4 Python Reload httpd

Syntax error on line 5 of /etc/httpd/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
..unused> rcapache reload
PERL PHP4 Python Reload httpd


*g* und jetzt funktioniert nichteinmal mehr das script :

#!/usr/bin/perl
print "Content-type: text/html\r\n\r\n";
print "Hello, World.";

und gibt mir statt hello world ein internal server error aus ! ich bin total am verzweifeln !! wenn jemand noch eine idee hat : her damit !


trotzdem vielen dank ! ein versuch wars wert !