Relay

Nicolas

Registered User
Hallo,
ich möchte auf meinem Server auf einem Webspace Account Relay installieren. Das ist zwar kein CMS, aber es geht auch um die Installation eines Scripts. Deshalb habe ich es in dieser Rubrik geschrieben.

Ich scheitere aber irgendwie an der Installation. Datenbank aufsetzen, usw kein Problem. Aber ich bekomme dann folgende Fehlermeldung:
Warning: file_get_contents(http://www.visual-playground.biz/relay/upload.pl?test) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /var/www/vhosts/visual-playground.biz/httpdocs/relay/install/index.php on line 388
the upload.pl script seems to be having problems. Try chmod 755 to upload. You may also need to change the 1st line to reflect the path to your perl installation, or in iis map the .pl extension to the perl executable. You may need to enable mod_cgi for .pl files. Look at the Relay Wiki on this topic for more troupshooting.
Scheint so, als könne er ein Perl Script nicht ausführen. Kann mir jemand hier helfen?
Ich habe all das, was dort stand eigentlich schon ausprobiert!:mad:

Grüße,
Nico
 
Hallo!
Welche Rechte hat den das Verzeichnis upload (ll -al upload)?

mfG
Thorsten
 
Hm, weiß net ob ichs richtig gemacht habe. Bekomme jedenfalls
Code:
-rwxrwxrwx  1 nick psacln 2518 Aug 12 20:18 upload.pl
zurück.
 
the upload.pl script seems to be having problems. Try chmod 755 to upload.
Mach doch das, was das steht: chmod 755 upload.pl
Schau auch mal in der suexec.log nach (z.B. in /var/log/apache2/suexec.log). Evtl. steht da der echte Fehler.

huschi.
 
Hallo.
Entschuldigung, dass ich mich erst so spät zurückmelde.:(

Also, ich habe nun mal in meinem Errorlog nachgeschaut. Da steht folgendes:
[Tue Sep 12 12:59:56 2006] [error] [client 85.214.58.156] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/visual-playground.biz/httpdocs/relay/upload.pl

So, deswegen, habe ich folgendes in meine vhost.conf geschrieben:
php_admin_flag safe_mode off
php_admin_flag register_globals on
Options FollowSymLinksIfOwnerMatch
AddHandler cgi-script .cgi .pl .plx

Danach habe ich Plesk dazu gebracht, das ganze einzubinden, und neu zu starten:
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.tld

/etc/init.d/apache2 reload

Bekomme dann aber via Putty diese Meldung:
Reload httpd2 (graceful restart)

[Tue Sep 12 13:07:16 2006] [warn] module perl_module is already loaded, skipping
Syntax error on line 3 of /var/www/vhosts/visual-playground.biz/conf/vhost.conf:
Illegal option FollowSymLinksIfOwnerMatch

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
unused

Langsam bin ich echt am verzweifeln :(
 
Schau Dir bitte mal folgendes an und vergleiche:
Options FollowSymLinks or SymLinksIfOwnerMatch is off
Options FollowSymLinksIfOwnerMatch

Na, fällt der Groschen (äh Cent latürnich)?

Richtig, es muß natürlich heißen:
Code:
Options +FollowSymLinks +SymLinksIfOwnerMatch
Das Plus symbolisiert übrigends die Überschreibung dieser speziellen Optionen ohne die sonstig gesetzten Optionen zu löschen.

huschi.
 
Danke für deine Antwort.:)
Hat leider nichts gebracht bekomme noch immer:
[Tue Sep 12 17:33:01 2006] [error] [client 85.214.58.156] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/visual-playground.biz/httpdocs/relay/upload.pl
Das ist irgendwie seltsam.:rolleyes:

Grüße,
Nico
 
Back
Top