Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'charset:iso-8859-7': 0.04; 'mrab': 0.05; 'parameter': 0.09; 'subject:script': 0.09; 'assume': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'skip:~ 20': 0.16; 'subject:when': 0.16; 'symlink': 0.16; 'there?': 0.16; 'unnecessary.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; "skip:' 30": 0.19; 'putting': 0.22; 'shown': 0.26; 'skip:" 30': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'that.': 0.31; 'asks': 0.31; "skip:' 40": 0.31; 'subject:that': 0.31; 'says': 0.33; 'subject:the': 0.34; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'system,': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'is.': 0.60; 'full': 0.61; 'more': 0.64; 'yes': 0.68; 'prompt': 0.68; 'day': 0.76; 'basics.': 0.84; 'demand': 0.91; 'trouble.': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=TT1g/B+lRUkQ3ieRO5ojicB6zJuI7VJiaC5q4A4Lr+M=; b=NvtLFwiBKdTR0VasUtrM2ydcWKIM0vg7K0ldV5RxhTZrO3qQu9Dvjqmt41RtjGiVhZ xTZzUuLTKZXRzG/rsCfLnwlPxhJizOqZPbkR5mRYS3eX0g2XlGHk4cQdmhqNHMeaxzKa 8vsE/SLYx+gj4fC9UMusEE0hfCc5Vp8kxdw3yMivVXkoOwbubxITDEtOc4JTYfkQJBY5 fosCPyA6txRGvHW0pzSXk8m737VMUaBMA7+IADJotvAMfQJFjFwyYrNCR+S1IzvmIamP NdcgPoeZSCsSJdodTkiLc2XzZB/goSNOVwPNJjmnNHcUexZyVXg0xpHxgKBsMBnWFg7i t85w== MIME-Version: 1.0 X-Received: by 10.220.182.193 with SMTP id cd1mr914382vcb.32.1370674911615; Sat, 08 Jun 2013 00:01:51 -0700 (PDT) In-Reply-To: References: <400ea041-adcf-4640-8872-f81808f7d402@googlegroups.com> <386bdf4a-53ae-4312-af5d-e28ef10ada42@googlegroups.com> <9d8cdf1b-cc79-4266-9bf5-ce8b690ac74a@googlegroups.com> <87obbj6nxr.fsf@nautilus.nautilus> <32cb683f-cc4b-4c05-a158-137668debb1c@googlegroups.com> <9d6779ba-0810-4c48-8ba4-d997bbb16408@googlegroups.com> <4cb931e0-821a-4e91-9719-2ab346dc7b72@googlegroups.com> Date: Sat, 8 Jun 2013 17:01:51 +1000 Subject: Re: Errin when executing a cgi script that sets a cookie in the browser From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370674919 news.xs4all.nl 15933 [2001:888:2000:d::a6]:43803 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47374 On Sat, Jun 8, 2013 at 4:53 PM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1=F2= wrote: > =D4=E7 =D0=E1=F1=E1=F3=EA=E5=F5=DE, 7 =C9=EF=F5=ED=DF=EF=F5 2013 11:47:58= =EC.=EC. UTC+3, =EF =F7=F1=DE=F3=F4=E7=F2 MRAB =DD=E3=F1=E1=F8=E5: >> On 07/06/2013 19:24, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1=F2 wrote: \>> > =D4=E7 =D0=E1=F1=E1=F3=EA=E5=F5=DE, 7 =C9=EF=F5=ED=DF=EF=F5 2013 5:32= :09 =EC.=EC. UTC+3, =EF =F7=F1=DE=F3=F4=E7=F2 MRAB =DD=E3=F1=E1=F8=E5: >> >> 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@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. ChrisA