Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed6.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'argument': 0.04; 'rewrite': 0.07; 'skip:/ 10': 0.07; "subject:' ": 0.07; 'sep': 0.09; 'charset:iso-8859-7': 0.15; 'properly': 0.15; '404': 0.16; 'doesnt': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'redirects': 0.16; 'wrote:': 0.17; 'requests': 0.18; 'latter': 0.22; 'skip:% 10': 0.22; 'host': 0.24; 'script': 0.24; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'wondering': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:list': 0.28; "we're": 0.30; 'file': 0.32; 'getting': 0.33; 'directory,': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'too.': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'possible': 0.37; 'why': 0.37; 'previous': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'gives': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'provide': 0.62; 'mentioned': 0.63; 'difference.': 0.84 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=FkO099R7AF57vGHyXyofRiRwdmjC1595SC9fdM5Ecds=; b=FG1qxRW7jjZ+LIUDcVyYAPyFBjqQ2bIxZ/qfZ1aKqi/mB/A1Qt9axRWZynXYXk+n4Z ibeJqB2yoXfK79QDk1XkQe9hXzu1D1qHd+kl6iR61rFmt95XXG0fWK477UczSWKGm1jq fNnSGga7hwOBoNp4y9ekhQ3SLBI4XxFXQD0tGnd9UohaX4xB3jcseEnwrsr+v+8PZfqi vuWfqq7S2Hdc5UeH8bm/3xMxUhPedhf8Hj4eUX0Sw2PWGKoVP3VpOpryMtsN4S58iWYG RNklqhZqaGcxhik/RkD7kMVNfFYCUsE0hC3bvnwS5CwIcBzNt+5i37ORjpdg+aEpPqen FhsA== MIME-Version: 1.0 In-Reply-To: <2c37aa2e-10fb-4e34-ad40-8f16b612e369@googlegroups.com> References: <071ad036-77ca-42d3-b68d-0dd3e3fac43e@googlegroups.com> <2138d293-c411-404d-bbf1-1afbae3fc597@googlegroups.com> <2c37aa2e-10fb-4e34-ad40-8f16b612e369@googlegroups.com> Date: Sun, 16 Sep 2012 00:55:56 +1000 Subject: Re: cannot concatenate 'str' and 'list' objects 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347720959 news.xs4all.nl 6860 [2001:888:2000:d::a6]:45217 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29237 On Sun, Sep 16, 2012 at 12:51 AM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1= =F2 wrote: > in my case an .htaccess file gives redirects all html requests to /cgi-bi= n/counter.py by also provide as an argument to the counter.py script the in= itical html file request > > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} -f > RewriteRule ^/?(.+\.html) /cgi-bin/counter.py?page=3D$1 [L,PT,QSA] > > so the latter you mentioned its not the case for me. > But iam wondering why this doesnt work on this server while on my previou= s host did..... Okay, now we're getting to a possible difference. Check if this is properly working; perhaps HostGator don't let you use the rewrite engine in .htaccess. Make sure your .htaccess is in the right directory, too. I just tried a quick check and was greeted with a 404 page, so the rule you describe isn't active. ChrisA