Errin when executing a cgi script that sets a cookie in the browser
MRAB
python at mrabarnett.plus.com
Fri Jun 7 16:47:58 EDT 2013
On 07/06/2013 19:24, Νικόλαος Κούρας wrote:
> Τη Παρασκευή, 7 Ιουνίου 2013 5:32:09 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
>>>Can find what? koukos.py is there inside the cg-bin dir with 755 perms.
>
>> It's looking for '/home/nikos/public_html/cgi-bin/koukos.py'.
>
> Its looking for its self?!?!
>
>> Have a look in '/home/nikos/public_html/cgi-bin'. Is 'koukos.py' in
>> there?
> Yes it is.
>
>
> nikos at superhost.gr [~/www/cgi-bin]# ls -l
> total 56
> drwxr-xr-x 2 nikos nikos 4096 Jun 6 20:29 ./
> drwxr-x--- 4 nikos nobody 4096 Jun 5 11:32 ../
> -rwxr-xr-x 1 nikos nikos 1199 Apr 25 15:33 convert.py*
> -rwxr-xr-x 1 nikos nikos 5434 Jun 7 14:51 files.py*
> -rw-r--r-- 1 nikos nikos 170 May 30 15:18 .htaccess
> -rwxr-xr-x 1 nikos nikos 1160 Jun 6 06:27 koukos.py*
> -rwxr-xr-x 1 nikos nikos 9356 Jun 6 09:13 metrites.py*
> -rwxr-xr-x 1 nikos nikos 13512 Jun 6 09:13 pelatologio.py*
> nikos at superhost.gr [~/www/cgi-bin]#
>
The prompt says "~/www/cgi-bin".
Is that the same as "/home/nikos/public_html/cgi-bin"?
Try:
ls -l /home/nikos/public_html/cgi-bin
More information about the Python-list
mailing list