Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'installed.': 0.05; 'subject:help': 0.07; 'cc:addr:python-list': 0.09; 'complaining': 0.09; 'python': 0.10; 'subject:python': 0.14; 'directive': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:run': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'sep': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'chris': 0.26; 'message-id:@mail.gmail.com': 0.27; 'correct': 0.28; 'too.': 0.30; 'url:wiki': 0.30; 'post': 0.31; 'useful': 0.33; 'hopefully': 0.33; 'url:code': 0.34; 'received:google.com': 0.35; 'unknown': 0.35; "isn't": 0.35; 'but': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'one,': 0.37; 'easily': 0.39; 'subject:with': 0.40; 'some': 0.40; 'questions': 0.40; 'more': 0.63; '+1000,': 0.84; 'chrisa': 0.84; 'denis': 0.84; 'skip:/ 30': 0.84; 'to:none': 0.91 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:cc :content-type; bh=M4QXA6if4loxbRF6dZqULxzTDXC36tEcSSPNk6krdPc=; b=CVr9g385sIgbCtdu5YWRumltJFpO4WPLPcbBD1KIM3uiHWyeqy7U5aXfJvYrt5V8V4 6wGue6uUR3gfWMDJalhbSZOvGQDQ8lHi+GKFWMqbWewUYWmE5sopZZypONySTEyTuAmc o4PzuBePay7XocAGp45KmpAPZEBTIJJfIJbTI8PpoRyZicLgsDF9UPyipL2CPhfU8i0l QNBEtUI3bwrRIbrkjHbkV/pQGjhA4c7pGrJ5lq9GtdTU+DvDiyhoFrwDF+Q0gBHIZBAB m8iVrw2kiDApbXIaLZNC/Y7IbleSeo21DOZcWwNY/xzm+utGFX5P2kO4lN8mInHADDOn nA2w== MIME-Version: 1.0 X-Received: by 10.50.50.198 with SMTP id e6mr25567248igo.13.1441594118463; Sun, 06 Sep 2015 19:48:38 -0700 (PDT) In-Reply-To: References: <3877a9ae-edbd-4d36-925a-5cb3789bd1bd@googlegroups.com> <31ec836b-4cb0-4079-8c12-f6b66a5cd143@googlegroups.com> <361cf277-b469-4873-891d-0153498794ef@googlegroups.com> Date: Mon, 7 Sep 2015 12:48:38 +1000 Subject: Re: Can anyone help me run python scripts with http.server? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441594546 news.xs4all.nl 23737 [2001:888:2000:d::a6]:53508 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96092 On Mon, Sep 7, 2015 at 6:04 AM, Denis McMahon wrote: > On Sun, 06 Sep 2015 23:23:14 +1000, Chris Angelico wrote: > >> WSGIScriptAlias / /path/to/scripts/MinstrelHall/mh.wsgi > > One wonders if the OP has mod_wsgi installed. > > https://code.google.com/p/modwsgi/wiki/WhereToGetHelp might be useful too. Yes, that is a consideration. But hopefully the OP can explore some possibilities and get to some more specific questions like "Apache is complaining that WSGIScriptAlias is an unknown directive - how do I correct this?", which are easily answered with a web search or a quick post to some forum (preferably an Apache-related one, as this isn't a Python question). ChrisA