Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 14303 invoked from network); 7 Jun 2005 14:59:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 14:59:47 -0000 Received: (qmail 95198 invoked by uid 500); 7 Jun 2005 14:59:03 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 94960 invoked by uid 500); 7 Jun 2005 14:59:02 -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 94042 invoked by uid 99); 7 Jun 2005 14:58:57 -0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of PMilanese@nypl.org designates 149.123.26.21 as permitted sender) Received: from mhtmail01.mail.nypl.org (HELO mhtmail01.mail.nypl.org) (149.123.26.21) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 07:58:55 -0700 Date: Tue, 7 Jun 2005 10:31:25 -0400 MIME-Version: 1.0 To: users@httpd.apache.org Cc: From: PMilanese@nypl.org X-Mailer: Microsoft Outlook v 11.00.5510, MSOC v 2.00.4007.00 Message-ID: X-MIMETrack: Serialize by Router on MHTMAIL01/MHT/Nypl(Release 5.0.11 |July 24, 2002) at 06/07/2005 10:59:16 AM, Serialize complete at 06/07/2005 10:59:16 AM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked Subject: RE: [users@httpd] redirect document root X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You are better off writing something to change all of the code (search/replace) and make it all relative (site independent). Either = that, or just put it where it likes to be.=20 If you have it setup as a vhost or the site is on its own, you can just = do a redirect into the /ao/ directory, and it may be ok. Rewrites, in my professional opinion, are not the 'correct' way to do this. Although others may not agree, rewrites are bandaids in a lot of scenarios. Good ones, but nonetheless a bandaid.=20 P -----Original Message----- From: Heiner.Amthauer@t-systems.com = [mailto:Heiner.Amthauer@t-systems.com] Sent: Tuesday, June 07, 2005 10:15 AM To: users@httpd.apache.org Subject: AW: [users@httpd] redirect document root e.g.: the login page is at login/main.jsp. It loads a frameset. Generally, = some of the links are absolute, like /ao_unten.htm, others are relative like ../login/login_presubmit.jsp. Accessing /login/main.jsp results in=20 GET /login/main.jsp HTTP/1.1" 404 332 Heiner -----Urspr=FCngliche Nachricht----- Von: Joshua Slive [mailto:jslive@gmail.com]=20 Gesendet: Dienstag, 7. Juni 2005 15:17 An: users@httpd.apache.org Betreff: Re: [users@httpd] redirect document root On 6/7/05, Heiner.Amthauer@t-systems.com wrote: > =20 >=20 > Hi there,=20 >=20 > I have an application running at the web context /ao/, however, it is > originally designed to run on /. I've tried to use the = rewriting-engine with > the statement=20 >=20 > RewriteRule ^/$ /ao/ [R]=20 >=20 > however, it does not work. Are there any other tricks?=20 This is not a good problem description. What exactly is the problem you are trying to solve? Is it absolute links in your application?=20 What exactly do the links look like? What do you get in the error and access log when you try to run it? Joshua. --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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