Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 98103 invoked from network); 19 Oct 2009 23:21:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 23:21:56 -0000 Received: (qmail 44809 invoked by uid 500); 19 Oct 2009 23:21:53 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 44754 invoked by uid 500); 19 Oct 2009 23:21:53 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 44745 invoked by uid 99); 19 Oct 2009 23:21:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 23:21:53 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of j.zuckerman@gmail.com designates 209.85.217.210 as permitted sender) Received: from [209.85.217.210] (HELO mail-gx0-f210.google.com) (209.85.217.210) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 23:21:50 +0000 Received: by gxk2 with SMTP id 2so393904gxk.4 for ; Mon, 19 Oct 2009 16:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=FrKVGvaJtpVd2EdKMks3Ds0DjqVyZgV3+pFMikoTHM4=; b=BBFJ8I6fdF+G76tBC0NWqweV1faf5Vu/lxNldmQA9h9cKUBdHduaW8+pECyClD3iCf Wn0TJo5o4CaP9ysfCTo/Zad+GIvsVq8Au5Tnr6/WOeZuYyXMb4Y2lhWKQRYIcIfY6L4R tXpQy/WZvOxzqpdbWOAEpxv2/ENNtL50VO96I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=uP12Nddr2p/2mrKcz1/HlFin9jSW5IYwSurw7AV8gZIqHndq3TuB5P5ktVQ6xblF1N 6XLQEtlAn+gkWcEn+BAIV/TOmM95mgl6woAVI/RC21v6sS9u+P9HMAvg/Sva4XNV5kfC FDDImsPnBGBQsIoeeW9g1m7tlk2e36vlre1i8= MIME-Version: 1.0 Received: by 10.150.119.23 with SMTP id r23mr9207513ybc.169.1255994490078; Mon, 19 Oct 2009 16:21:30 -0700 (PDT) In-Reply-To: References: From: Jonathan Zuckerman Date: Mon, 19 Oct 2009 16:21:10 -0700 Message-ID: <5ddb50770910191621j1d867611w3c8e11c3bfe2b1ef@mail.gmail.com> To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [users@httpd] Conditional .htaccess On Mon, Oct 19, 2009 at 3:17 PM, Scott Haneda wrote: > Is it possible to have .htacess values be conditional in any way. =C2=A0F= or > example: > > if (my ip address is accessing the site) > =C2=A0 =C2=A0 =C2=A0 =C2=A0some apache directive here > end if > > -- > Scott * If you contact me off list replace talklists@ with scott@ * > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project= . > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > =C2=A0" =C2=A0 from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > ".htaccess values" could be more specific... .htaccess is a file which allows you to do many types of apache configuration dynamically in a directory without having to restart the webserver. If you're talking about URL rewriting, here's somewhere to start (replace the 2.2 with whatever major.minor version of apache you're using): http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org