Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mit web-app mit cgi
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1186

PostPosted: Sat May 12, 2012 11:19 am    Post subject: Problem mit web-app mit cgi Reply with quote

Hallo, ich hab mir collectd-web installiert, ein frontend um daten von collectd anschauen zu können.
Leider verwendet die cgi. Und davon hab ich bisher keine Ahnung, was darin resultiert, dass es nicht funktioniert....

Nun hoffe ich ein bisschen auf hilfe für das richtige einrichten von cgi.

apache error__log:
Code:
[Sat May 12 13:10:06 2012] [error] [client 196.44.140.214] (13)Permission denied: exec of '/var/www/de/ch-sc/collectd/cgi-bin/collection.modified.cgi' failed, referer: https://collectd.ch-sc.de/
[Sat May 12 13:10:06 2012] [error] [client 196.44.140.214] Premature end of script headers: collection.modified.cgi, referer: https://collectd.ch-sc.de/
[Sat May 12 13:10:06 2012] [warn] [client 196.44.140.214] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: https://collectd.ch-sc.de/
[Sat May 12 13:10:06 2012] [error] [client 196.44.140.214] (13)Permission denied: exec of '/var/www/de/ch-sc/collectd/cgi-bin/time.cgi' failed, referer: https://collectd.ch-sc.de/
[Sat May 12 13:10:06 2012] [error] [client 196.44.140.214] Premature end of script headers: time.cgi, referer: https://collectd.ch-sc.de/
[Sat May 12 13:10:06 2012] [warn] [client 196.44.140.214] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: https://collectd.ch-sc.de/



die entsprechende vhost config:
Code:
<VirtualHost *:443>
        ServerName                      collectd.ch-sc.de
        DocumentRoot            "/var/www/de/ch-sc/collectd/htdocs"
        include                         "/etc/apache2/vhosts.d/default_settings.include"
        ScriptAlias                     /cgi-bin/ /var/www/de/ch-sc/collectd/cgi-bin/
        <Directory "/var/www/de/ch-sc/collectd">
                AllowOverride   All
                Options                         -IncludesNoEXEC
        </Directory>
</VirtualHost>


Hoffe auf eure hilfe...

SChöne Grüße
Christian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum