Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3747878F8 for ; Mon, 1 Aug 2011 08:21:29 +0000 (UTC) Received: (qmail 6799 invoked by uid 500); 1 Aug 2011 08:21:23 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 6212 invoked by uid 500); 1 Aug 2011 08:21:11 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 6060 invoked by uid 99); 1 Aug 2011 08:21:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 08:21:07 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phracek2@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 08:20:59 +0000 Received: by qyk30 with SMTP id 30so4629929qyk.18 for ; Mon, 01 Aug 2011 01:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=yKpOp7jRO9/1Fmrge8/wDkhT1qdDRC5gXKD+Ik5ZaLc=; b=Kv4BCWvmjo5QmyBK48dFQCEOxbpIcUEz17VjZbuQ6hLWC+okukZ+yGFKwINPtsQtlM 5xs7mOrciilPr1zWoM2pRMDGC8KWedyAkWHeH5hrR9bY0qtLKqnrym9yv5c6bJVI1PSH u9zJbaqD7eBiJoCPRD9pWEEEo+5lABA6x08Lc= MIME-Version: 1.0 Received: by 10.224.200.73 with SMTP id ev9mr380489qab.218.1312186838979; Mon, 01 Aug 2011 01:20:38 -0700 (PDT) Received: by 10.224.20.84 with HTTP; Mon, 1 Aug 2011 01:20:38 -0700 (PDT) Date: Mon, 1 Aug 2011 10:20:38 +0200 Message-ID: Subject: Recognition of local / remote request From: Petr Hracek To: dev@httpd.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Dear developers, I would like to ask you how can I recognize whether request is performed from local PC or from remote PC? Is it possible to use ServerName where I will define remote IP address? My situation is the when user is connected from the local PC over 127.0.0.1 or 192.168.*.* than URL will be allowed. Otherwise URL will be permitted for user. Thank you in advance -- Best Regards / S pozdravem Petr Hracek