Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 63752 invoked by uid 500); 19 Jul 2003 00:17:55 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 63737 invoked from network); 19 Jul 2003 00:17:54 -0000 Received: from sabre.velocet.net (216.138.209.205) by daedalus.apache.org with SMTP; 19 Jul 2003 00:17:54 -0000 Received: from mail.gej-it.com (gej-it.com [216.138.220.213]) by sabre.velocet.net (Postfix) with ESMTP id 2158F13A77B for ; Fri, 18 Jul 2003 20:18:02 -0400 (EDT) Received: from jeff ([10.10.0.3]) by gej-it.com (gej-it.com [216.138.220.213]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 28-md50000000004.tmp for ; Fri, 18 Jul 2003 20:17:48 -0400 From: "Jeff Cohen" To: Date: Fri, 18 Jul 2003 20:17:49 -0400 Message-ID: <000c01c34d8b$303776c0$03000a0a@gejit.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal In-Reply-To: <9A8B75E3985324438F1BFA08B160E820020814@suxsvr.willconsult.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Processed: gej-it.com, Fri, 18 Jul 2003 20:17:48 -0400 (not processed: message from valid local sender) X-Lookup-Warning: HELO/EHLO lookup on jeff does not match 10.10.0.3 X-MDRemoteIP: 10.10.0.3 X-Return-Path: support@gej-it.com X-MDaemon-Deliver-To: users@httpd.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] strange problem with /icons alias and FollowSymLinks Alias /icons/ "/usr/local/apache/icons/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all Following this config, you can tell why it wasn't working, there's a trailing slash at the Alias directive, but no trailing slash at the Directory directive, this is to avoid browsing option on the icons directory. If you'd like to remove the ReWrite use: Alias /icons /usr/local/apache/icons Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Pretty sure that would satisfy the request. All the best, Jeff Cohen Support@GEJ-IT.com Tel. (416) 917-2324 www.GEJ-IT.com GEJ-IT Networks! > -----Original Message----- > From: Ryan Stille [mailto:rps@willconsult.com] > Sent: Friday, July 18, 2003 5:07 PM > To: users@httpd.apache.org > Subject: [users@httpd] strange problem with /icons alias and FollowSymLinks >=20 > I have a server in place that has several web sites on it. I need to = add a > RewriteRule to one of them, so to experiment around with it I created = a second > virtualhost that only I know about that points to the same disk = location as the > production site. On part of this site, I browse a directory = structure, letting Apache > generate it's directory index pages, complete with the built in icons = for different > file types. >=20 > The problem was when I added 'RewriteEngine on', the icons stopped working. I > get this error in the log when I try to access an icon: > [Fri Jul 18 15:35:23 2003] [error] [client 192.168.10.50] Options FollowSymLinks > or SymLinksIfOwnerMatch is off which implies that RewriteRule = directive is > forbidden: /usr/local/apache/icons/folder.gif >=20 >=20 > Here is the virtualhost I'm using: >=20 > # rps.willconsult.com (a temporary test site) > > ServerName rps.willconsult.com > DocumentRoot /home/WWW-data/environmental/homepage > > AllowOverride AuthConfig > Options +Includes +Indexes +ExecCGI > DirectoryIndex index.shtml index.html view.cgi upload.cgi delete.cgi > RewriteEngine on > RewriteRule /envimages(/.*\.jpg) /view/getimage.cgi?$1 > > >=20 > I really couldn't figure out what this error is telling me. I tried adding > FollowSymLinks to the Options list in my Vhost. Didn't help. I = finally got it > working when I added FollowSymLinks to the block for the = icons > directory. Here is what I have now for the icons stuff: >=20 > Alias /icons/ "/usr/local/apache/icons/" >=20 > > Options Indexes MultiViews FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all > >=20 >=20 > What went wrong when I added The 'RewriteEngine on' line, and why did adding > the FollowSymLinks line fix it? There are no symbolic links in the = path > /usr/local/apache/icons. >=20 > Like I said, I've got the problem resolved now but I really would like = to understand > whats going on for my own benefit. I am running Apache 1.3.27. >=20 > Thanks > -Ryan >=20 > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- 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