Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 10492 invoked by uid 500); 13 Mar 2002 04:48:09 -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 10481 invoked from network); 13 Mar 2002 04:48:09 -0000 Received: from unknown (HELO mail.totalspeed.net) (65.201.62.6) by daedalus.apache.org with SMTP; 13 Mar 2002 04:48:09 -0000 Received: from valentines [209.245.8.98] by mail.totalspeed.net (SMTPD32-6.06) id A963C50118; Tue, 12 Mar 2002 21:45:23 -0700 From: "Travis Valentine" To: Subject: Redirecting request for images Date: Tue, 12 Mar 2002 21:53:20 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Apache Masters, I have searched around, but cannot find the answer I need. (Due to the fact I am not sure what I am looking for!!) Perhaps someone here can help. I am setting up a development server several people are going to use to edit and change a existing block of html code. Each person needs a personal copy of the code and images so that the changes they make will not affect any other users code, including images. For simplicity, I have created each user a directory under /var/www/html/users/ on a RedHat Linux 7.2 box. I have set the Document root for Apache at /var/www/html/users/. I then place a copy of the code in each directory for users to access. (All users are internal to the company and accessing the code via Samba, so where it is on the box is not an issue.) The problem is that the existing html code all references images with a preceding / so that the pages expect the images to come from /var/www/html/users/images (i.e. going back to the Document root), as opposed to /var/www/html/users/jgordon/images (or whatever). It would be extremely difficult (hundreds of pages) to go back and fix it just to work in the development environment. In any case, I was wondering if there was a way to tell apache to send images back from the correct users directory. A type of redirect, etc. Sorry I am being so vague, but I am not sure what the right path to go down is. I am open to any ideas including changing the file structure. Any ideas on getting everyone their own copy? Thanks for the help. Travis P.S. I also want to know if anyone can show me how to run Apache as root. lol :) --------------------------------------------------------------------- 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 For additional commands, e-mail: users-help@httpd.apache.org