.pl und .cgi nicht ausführbar
.pl und .cgi nicht ausführbar
Hi,
ich habe folgendes problem, ich kann auf meinem Rootie keine .pl und .cgi dateien ausführen.
webbrowser:
Internal Server Error
suexec.log:
[2004-01-05 15:55:21]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 15:55:21]: error: directory is writable by others: (/home/www/web2/html/cgi-bin)
Bitte helft mir.
Gruss
Sebastian
ich habe folgendes problem, ich kann auf meinem Rootie keine .pl und .cgi dateien ausführen.
webbrowser:
Internal Server Error
suexec.log:
[2004-01-05 15:55:21]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 15:55:21]: error: directory is writable by others: (/home/www/web2/html/cgi-bin)
Bitte helft mir.
Gruss
Sebastian
Re: .pl und .cgi nicht ausführbar
Der Fehler steht doch da:
[2004-01-05 15:55:21]: error: directory is writable by others: (/home/www/web2/html/cgi-bin)
Re: .pl und .cgi nicht ausführbar
und was muss ich genau dagegen machen ??
gruss
Sebastian
gruss
Sebastian
Re: .pl und .cgi nicht ausführbar
Bist du dir sicher, dass du das Wissen hast, einen Server im Internet zu betreiben?
bye
arty
bye
arty
Re: .pl und .cgi nicht ausführbar
ka
ich habe die zugriffsrechte von dem verzeichnis geändert, aber da tut sich nichts.
gruss
Sebastian
ich habe die zugriffsrechte von dem verzeichnis geändert, aber da tut sich nichts.
gruss
Sebastian
Re: .pl und .cgi nicht ausführbar
Code: Select all
ls -alh /home/www/web2/htmlPayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: .pl und .cgi nicht ausführbar
Code: Select all
chmod o-w /home/www/web2/html/cgi-bin
Re: .pl und .cgi nicht ausführbar
pxxxxxxxx:/home/www/web2/html # ls -alh /home/www/web2/html
insgesamt 80K
drwxr-xr-x 8 web2 ftponly 4.0K 2004-01-05 14:05 .
dr-xr-x--- 9 web2 www 4.0K 2004-01-05 16:07 ..
drwxr-xr-x 2 web2 ftponly 4.0K 2004-01-05 14:49 cgi-bin
-rw-r--r-- 1 web2 ftponly 559 2003-12-04 23:00 index.php
-rw-r--r-- 1 web2 ftponly 274 2003-12-04 22:16 pw.php
drwxr-xr-x 2 web2 ftponly 4.0K 2003-09-19 16:06 ted
-rw-r--r-- 1 root root 16 2003-09-21 15:05 test.php
drwxr-xr-x 6 web2 ftponly 4.0K 2003-12-09 20:05 umfrage
pxxxxxxxx:/home/www/web2/html #
insgesamt 80K
drwxr-xr-x 8 web2 ftponly 4.0K 2004-01-05 14:05 .
dr-xr-x--- 9 web2 www 4.0K 2004-01-05 16:07 ..
drwxr-xr-x 2 web2 ftponly 4.0K 2004-01-05 14:49 cgi-bin
-rw-r--r-- 1 web2 ftponly 559 2003-12-04 23:00 index.php
-rw-r--r-- 1 web2 ftponly 274 2003-12-04 22:16 pw.php
drwxr-xr-x 2 web2 ftponly 4.0K 2003-09-19 16:06 ted
-rw-r--r-- 1 root root 16 2003-09-21 15:05 test.php
drwxr-xr-x 6 web2 ftponly 4.0K 2003-12-09 20:05 umfrage
pxxxxxxxx:/home/www/web2/html #
Re: .pl und .cgi nicht ausführbar
also auf web1 bis webXXX geht cgi nicht.
gruss
Sebastian
gruss
Sebastian
Re: .pl und .cgi nicht ausführbar
mach mal ein:
Code: Select all
chown -R web2.ftponly /home/www/web2/htmlRe: .pl und .cgi nicht ausführbar
hi
ich bekomm immer noch als Fehlermeldung: 500 Internal Server Error.
suexec.log
[2004-01-05 17:29:49]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:15]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:15]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:16]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
Gruss
Sebastian
ich bekomm immer noch als Fehlermeldung: 500 Internal Server Error.
suexec.log
[2004-01-05 17:29:49]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:15]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:15]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:16]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
Gruss
Sebastian
Re: .pl und .cgi nicht ausführbar
Dann ist das Script kaputt. Eine Fehlermeldung von SuExec steht da ja nicht (mehr).mogul2001 wrote:hi
ich bekomm immer noch als Fehlermeldung: 500 Internal Server Error.
suexec.log
[2004-01-05 17:29:49]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:15]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:15]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
[2004-01-05 17:30:16]: info: (target/actual) uid: (web2/web2) gid: (ftponly/ftponly) cmd: test.cgi
Gruss
Sebastian
Re: .pl und .cgi nicht ausführbar
nun geht wieder alles, lag an einer einstellung in der httpd.conf
gruss
sebastian
gruss
sebastian
-
major (jgbtl511)
- Posts: 22
- Joined: 2003-08-02 09:01
Re: .pl und .cgi nicht ausführbar
Mhh wär nett wenn du uns auch mitteilen könntest wwelche Einstellung es war. Habe auch das gleiche Prob.
Gruß
Major
Gruß
Major
-
Anonymous
Re: .pl und .cgi nicht ausführbar
Hallo zusammen,
da ich das gleiche Problem habe, wie es bereits oben geschildert wurde, hoffe ich, dass sich jemand erbarmt und eine Lösung hat, die er dann auch ins Forum einstellt.
Schönen Tag noch
wollis
da ich das gleiche Problem habe, wie es bereits oben geschildert wurde, hoffe ich, dass sich jemand erbarmt und eine Lösung hat, die er dann auch ins Forum einstellt.
Schönen Tag noch
wollis
Re: .pl und .cgi nicht ausführbar
Code: Select all
<Directory "/srv/www/cgi-bin">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
Anonymous
Re: .pl und .cgi nicht ausführbar
Danke erst einmal für die Hilfestelung.
Hab ich drinstehen (genau wie beschrieben).
script.pl ist auf 744 gesetzt
Ergebnisse:
1) Wenn Ordner cgi-bin (hier steht das scirpt drin) unterhalb von 777 (z. B. 755), dann Anzeige "Forbidden - You don't have permission to access /cgi-bin/script.pl on this server."
2) Wenn Ordner cgi-bin 777, dann Anzeige "Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request."
MfG
ein etwas verzweifelter
wollis ;-) (noch)
Hab ich drinstehen (genau wie beschrieben).
script.pl ist auf 744 gesetzt
Ergebnisse:
1) Wenn Ordner cgi-bin (hier steht das scirpt drin) unterhalb von 777 (z. B. 755), dann Anzeige "Forbidden - You don't have permission to access /cgi-bin/script.pl on this server."
2) Wenn Ordner cgi-bin 777, dann Anzeige "Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request."
MfG
ein etwas verzweifelter
wollis ;-) (noch)

