Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.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.029 X-Spam-Evidence: '*H*': 0.94; '*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; 'said.': 0.16; 'skip:~ 20': 0.16; 'subject:when': 0.16; 'symlink': 0.16; 'there?': 0.16; 'unnecessary.': 0.16; 'www': 0.16; 'sat,': 0.16; 'wrote:': 0.18; "skip:' 30": 0.19; 'putting': 0.22; 'certainly': 0.24; 'mention': 0.26; 'shown': 0.26; 'skip:" 30': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; "skip:' 10": 0.31; 'that.': 0.31; 'asks': 0.31; 'default,': 0.31; "skip:' 40": 0.31; 'subject:that': 0.31; 'says': 0.33; 'subject:the': 0.34; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'really': 0.36; 'received:209': 0.37; 'system,': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'does': 0.39; 'extremely': 0.39; 'to:addr:python.org': 0.39; 'is.': 0.60; 'most': 0.60; 'full': 0.61; 'more': 0.64; 'yes': 0.68; 'prompt': 0.68; 'day': 0.76; 'yourself': 0.78; 'basics.': 0.84; 'confusion.': 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=jdpTMAYrp67ual4DRzJf28YNZ20UvV5I5lqfR6Bm6Sw=; b=OgbvWlsJoICyJqLSR7UBgpiY/AW3dY+7+AOtlb4lIu6ghP1BPV0wr1okxU4E1n93gp pUHdk8cyR7sD1kNyuYo6xOCpfyLTnx2QdRk0KckUG526jOlNWJLdF2+KGIrYzSzdCsf7 A/FfKRvEbWh74wIDdhmgiTVdea/no7IaA5RgIDLg7TPbM+LOeHBDWNL9ajbykU443gEg MXo8WbxLRa50JHheN7NhAdZRhW98x4QewKgUEhfBvIVRj/TyvkbX09DO6MAeiv69478O nrJ30fHm/Uf8iOuCnlmJNTyDZtsPju6+MERNgz5J0xC1heiupIBJWjysjCoqZgnWtK/R jvng== MIME-Version: 1.0 X-Received: by 10.52.65.238 with SMTP id a14mr1507638vdt.24.1370707438078; Sat, 08 Jun 2013 09:03:58 -0700 (PDT) In-Reply-To: <38d5874e-4f4f-408a-8230-3aa8dae46fa8@googlegroups.com> 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> <38d5874e-4f4f-408a-8230-3aa8dae46fa8@googlegroups.com> Date: Sun, 9 Jun 2013 02:03:57 +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: 61 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370707447 news.xs4all.nl 15951 [2001:888:2000:d::a6]:43121 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47384 On Sun, Jun 9, 2013 at 1:36 AM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1=F2= wrote: > =D4=E7 =D3=DC=E2=E2=E1=F4=EF, 8 =C9=EF=F5=ED=DF=EF=F5 2013 10:01:51 =F0.= =EC. UTC+3, =EF =F7=F1=DE=F3=F4=E7=F2 Chris Angelico =DD=E3=F1=E1=F8=E5: >> 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 wrot= e: >> >> \>> > =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' i= n >> >> >> >> 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. > > Well, www as symlink to public_html is always a symlink to any system i h= ave used so its something defaulted. It's most certainly not the default, it's definitely not universal, and that has nothing to do with what I said. Use the exact same path, it reduces confusion. Also, I think it's time to mention again: Get yourself off Google Groups, or start trimming out the stupid double spacing! It's getting extremely annoying. ChrisA