Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 75733 invoked from network); 16 Nov 2010 22:29:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 22:29:26 -0000 Received: (qmail 11539 invoked by uid 500); 16 Nov 2010 22:29:54 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 11513 invoked by uid 500); 16 Nov 2010 22:29:54 -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 11505 invoked by uid 99); 16 Nov 2010 22:29:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 22:29:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of i.galic@brainsware.org designates 188.40.115.121 as permitted sender) Received: from [188.40.115.121] (HELO mail.brainsware.org) (188.40.115.121) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 22:29:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.brainsware.org (Postfix) with ESMTP id 6FBF21DE3A2 for ; Tue, 16 Nov 2010 22:29:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at brainsware.org Received: from mail.brainsware.org ([127.0.0.1]) by localhost (mail.brainsware.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2vXlTvR5Uvqk for ; Tue, 16 Nov 2010 22:29:25 +0000 (UTC) Received: from mail.brainsware.org (mail.brainsware.org [188.40.115.121]) by mail.brainsware.org (Postfix) with ESMTP id 97C921DE39A for ; Tue, 16 Nov 2010 22:29:25 +0000 (UTC) Date: Tue, 16 Nov 2010 22:29:25 +0000 (UTC) From: =?utf-8?Q?Igor_Gali=C4=87?= To: users@httpd.apache.org Message-ID: <1508087214.8792.1289946565497.JavaMail.root@iris> In-Reply-To: <1353285578.8790.1289946333633.JavaMail.root@iris> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [195.72.132.1] X-Mailer: Zimbra 6.0.5_GA_2213.DEBIAN5_64 (ZimbraWebClient - FF3.0 ([unknown])/6.0.5_GA_2213.DEBIAN5_64) X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Need Help with Apache AllowOverride ----- "Mark Phillips" wrote: > I have a web server at webIP off site. I have a second server for > photos running a php photo gallery app behind apache at photoIP on my > local LAN. I have a page on the web server that uses iframes to the > photo server's images. >=20 > I am trying to restrice access to the photo server to requests from > the web server using apache Allowoverride on the photo server. Here is > what I have: That doesn't make a lot of sense.. http://httpd.apache.org/docs/current/mod/core.html#allowoverride AllowOverride only has a say on what you can or cannot do in a .htaccess file. Given that you have access to the configuration, using .htaccess files doesn't make much sense. > >=20 > DocumentRoot /var/www/gallery >=20 > > Options FollowSymLinks > AllowOverride None > >=20 > > Options Indexes FollowSymLinks MultiViews > AllowOverride All FileInfo Options > Order allow,deny > Deny from all > # internal access > Allow from 192.168.25.0/24 > Allow from 127 > # Web server > Allow from webIP > >=20 > ErrorLog /var/log/apache2/hammerhead/ > error.log >=20 > # Possible values include: debug, info, notice, warn, error, crit, > # alert, emerg. > LogLevel debug >=20 > CustomLog /var/log/apache2/access.log combined >=20 > >=20 > I can access the photos from a machine on my local LAN, but not from > hosts off my LAN. The only way to get it to work is to change Deny > from all to Allow from all. What am I doing wrong? How does the Web Server access the photos? What do you see in the Error log/access log? =20 > Thanks! >=20 > Mark i --=20 Igor Gali=C4=87 Tel: +43 (0) 664 886 22 883 Mail: i.galic@brainsware.org URL: http://brainsware.org/ --------------------------------------------------------------------- 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