[LINUX:19710] kullanicilarin cgi calistirma problemi

---------

New Message Reply About this list Date view Thread view Subject view Author view

From: Taner TANRISEVER (taner@balikesir.edu.tr)
Date: Sun 17 Sep 2000 - 21:11:51 EEST


1. Bir A.html adindaki dosya cgi-bin dizinindeki .pl uzantili dosyayi
   calistiriyor. hicbir problem yok.
2. Kullanicinin public_html dizinine A.html dosyayi koyup kullanıcıın
   cgi-bin dizinine .pl uzantili dosyayi koyunca calismiyor.

Asagida gozden kacmis ne var ki?

APACHE nin KONU ILE ILGILI AYARLARI ASAGIDAKI GIBIDIR. HATA LOGUNUN BIR
PARCASI ve DIZIN ERISIMLERI DOKUMANIN EN ALTINDADIR.

DocumentRoot "/home/httpd/html"

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Allow from all
</Directory>

<Directory "/home/httpd/html">
    Options Indexes Includes FollowSymLinks All
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>

UserDir public_html

<Directory "/home/*/public_html">
     Options Indexes Includes SymLinksIfOwnerMatch All ExecCGI
</Directory>

DirectoryIndex index.html index.htm index.shtml index.cgi

AccessFileName .htaccess

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"

<Directory "/home/httpd/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

<Directory "/home/*/public_html/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

AddHandler cgi-script .cgi .pl

HATA LOGUNDAN ALINMIS SATIRLAR ASAGIDADIR

[Sun Sep 17 20:32:56 2000] [error] (2)No such file or directory: exec of /home/stra/public_html/cgi-bin/maillist.pl failed
[Sun Sep 17 20:32:56 2000] [error] [client 127.0.0.1] Premature end of script headers: /home/stra/public_html/cgi-bin/maillist.pl

total 40
drwxr-xr-x 4 taner taner 4096 Sep 17 21:12 .
drwx--x--x 26 stra stra 4096 Aug 3 21:33 ..
-rwxr-xr-x 1 root root 501 Jul 14 22:00 calis.pl
drwxr-xr-x 3 taner taner 4096 Sep 17 04:07 cgi-bin
drwxr-xr-x 3 taner taner 4096 Sep 17 03:40 cgi_deneme
-rwxr-xr-x 1 taner taner 167 Sep 16 02:17 deneme.cgi
-rw-r--r-- 1 root root 0 Sep 17 21:12 dizin.txt
-rw-r--r-- 1 root root 16 Sep 17 20:13 index.html
-r-xr-xr-x 1 taner taner 451 Sep 17 20:32 maillist.html
-r-xr-xr-x 1 taner taner 4842 May 27 1996 maillist.pl

 
 Listeden cikmak icin:
          unsub linux
 mesajini listeci@bilkent.edu.tr adresine gonderiniz.
   Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
 Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
 Liste arsivinin adresi: http://listweb.bilkent.edu.tr/


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b29 tarafindan uretilmistir.