Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'scripts': 0.03; 'charset:iso-8859-7': 0.04; 'directive.': 0.09; 'prohibits': 0.09; 'security.': 0.09; 'directive': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'cgi': 0.31; 'equivalent.': 0.31; 'subject:other': 0.31; 'subject:website': 0.31; 'yes.': 0.31; 'fri,': 0.33; 'display': 0.35; 'received:google.com': 0.35; '14,': 0.36; "i'll": 0.36; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'tell': 0.60; 'such': 0.63; 'god,': 0.84; '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=feMzILOwj/VTbP7M2ApQMrkSYgYuLO2vXpyrNhKE5OE=; b=P79A44uOzPcIJCbRykrvEAYE+F1zYLx6lETlX4TQ6KeUEcgnqHZ5oXYe5mIFUb3iyy cJY05oxEyscQdBQLPf+RMfOmyBaZROquB6aPZgM7MgcWk2jPPjiqKZYC/GUnhU8AewbM oW2mxZmFBkliQh/rIIq3ebyTR4CpTrMpASOpT2GDo8uhKtJe4egAu7+wWmKC4Kba7UmE 5Q3xq4sP+CNuiGB5aU4z/bZnJaMF4uhILU2V6xWkYw09EjxmWbl3vx8jjpTST89hzIYa 4/HNSOsE9ZpGELckYnTiSTMDtgBX7iCw2kpFH5VC2ovAGINvSvctFcpGiZRi2il9HUp6 bXDg== MIME-Version: 1.0 X-Received: by 10.52.121.99 with SMTP id lj3mr577799vdb.52.1371140921535; Thu, 13 Jun 2013 09:28:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Jun 2013 02:28:41 +1000 Subject: Re: Wrong website loaded when other requested 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371140924 news.xs4all.nl 15909 [2001:888:2000:d::a6]:51039 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47986 On Fri, Jun 14, 2013 at 2:23 AM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1= =F2 wrote: > Oh my God, i'll find an httpd.conf directive ot .htaccess directive that > prohibits display of source code of cgi scripts > > please tell me if you know of such a directive. Yes. This will majorly improve your security. It goes in your httpd.conf or equivalent. Listen 127.0.0.1:80 ChrisA