Errin when executing a cgi script that sets a cookie in the browser
Νικόλαος Κούρας
nikos.gr33k at gmail.com
Sat Jun 8 11:36:40 EDT 2013
Τη Σάββατο, 8 Ιουνίου 2013 10:01:51 π.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
> On Sat, Jun 8, 2013 at 4:53 PM, Νικόλαος Κούρας <nikos.gr33k at gmail.com> wrote:
>
> > Τη Παρασκευή, 7 Ιουνίου 2013 11:47:58 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
>
> >> On 07/06/2013 19:24, Νικόλαος Κούρας wrote:
>
> \>> > Τη Παρασκευή, 7 Ιουνίου 2013 5:32:09 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
>
> >> >> It's looking for '/home/nikos/public_html/cgi-bin/koukos.py'.
>
> >> >> 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
>
> >> > -rwxr-xr-x 1 nikos nikos 1160 Jun 6 06:27 koukos.py*
>
> >> The prompt says "~/www/cgi-bin".
>
> >> Is that the same as "/home/nikos/public_html/cgi-bin"?
>
> > Good day MRAB, yes '~/www' its a symlink to '~/public_html'
>
>
>
> More basics. When someone asks you to check something, check exactly
>
> that. It really does not help to check something unrelated. If you'd
>
> shown in your prompt ~/public_html/cgi-bin rather than your symlink of
>
> www, there would have been less confusion; putting the full path in as
>
> a parameter would eliminate all trouble. By using the symlink, you
>
> demand that we understand or assume something about your system, and
>
> that's unnecessary.
Well, www as symlink to public_html is always a symlink to any system i have used so its something defaulted.
More information about the Python-list
mailing list