Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 49856 invoked from network); 20 May 2005 17:05:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 May 2005 17:05:08 -0000 Received: (qmail 46965 invoked by uid 500); 20 May 2005 17:04:43 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 46949 invoked by uid 500); 20 May 2005 17:04:43 -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 46905 invoked by uid 99); 20 May 2005 17:04:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from grinch.dartmouth.org (HELO grinch.dartmouth.org) (129.170.16.23) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 20 May 2005 10:04:39 -0700 Received: from newsneezy.Dartmouth.ORG (newsneezy.dartmouth.org [129.170.16.73]) by grinch.dartmouth.org (8.12.10+DND/8.12.10) with ESMTP id j4KCmoUI011840 for ; Fri, 20 May 2005 12:54:21 -0400 X-Disclaimer: This message was received from outside Dartmouth's BlitzMail system. Received: by newsneezy.Dartmouth.ORG (Blitz.Dartmouth.ORG) via SMTP from Karakas.Kiewit.dartmouth.edu [129.170.18.224] for users@httpd.apache.org id <48505640> 20 May 2005 12:54:18 EDT Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <20050520.pvp.02734200@192.168.100.50> References: <20050520.pvp.02734200@192.168.100.50> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <00b443d2a1a4e6ecf1b6bd5f49a00bcc@alum.dartmouth.org> Content-Transfer-Encoding: quoted-printable From: "Brian Hughes '89" Date: Fri, 20 May 2005 12:54:13 -0400 To: users@httpd.apache.org X-Mailer: Apple Mail (2.622) X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: brianvh@alum.dartmouth.org X-Virus-Checked: Checked Subject: Re: [users@httpd] How to make apache to fix the url in the browser? X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On May 20, 2005, at 12:08 PM, Fl=E1vio Henrique wrote: > I dont want to make any redirection ok? I just want this: > > on my internal webserver I have egroupware installed =20 > (www.egroupware.org) > my clients, when access my egroupware site, see, in the address bar =20= > the url: > http://www.myserver.com/egroupware/index.php?=20 > menuaction=3Demail.uicompose.compose&fldball[folder]=3DInbox > > how to make apache (if this is in apache) send only the =20 > "www.myserver.com" to > browser? no matter where the user goes or which link the user clicks. OK... so what you want to do is "fix" the URL that's displayed in the =20= user's browser, no matter what page they are on, or how deep into to =20 the www.myserver.com site? If so, then this has nothing to do with =20 Apache, per-se. What it sounds like you want to do is wrap the entry page to the =20 egroupware site in a Frameset that has 2 frame rows: 1 that is 100% the =20= height of the window and the second that is * (which is really 0 =20 height). You set this frameset up as the index.html page of =20 www.myserver.com and set the HREF of frame 1 to point to: /egroupware/index.php?=20 menuaction=3Demail.uicompose.compose&fldball[folder]=3DInbox Or whatever the user's "home page" would be. The egroupware site =20 doesn't know it's being framed, so it simply treats the top frame as =20 the "window", which is what causes the browser to never change the =20 displayed URL from "http://www.myserver.com/". Incidentally, this is =20 effectively what Google does for their GMail system. No matter where =20 you go in your GMail account, the URL is always =20 https://gmail.google.com/gmail. The trick with this, since you're fooling both the browser and =20 egroupware, is when there's a link that takes you outside the =20 egroupware system, it too, will display in the main frame and look to =20= the browser as though it was "http://www.myserver.com/". That might not =20= be what you want. Google handles this by modifying every non-GMail =20= tag with a target=3D"_blank" attribute that forces a new browser window =20= to open when the link is clicked. Again, this has nothing to do with your Apache settings. You can use =20 Apache, with mod_rewrite, to cause one website to look like it comes =20 from a different URL, but that's not the same thing as fixing a single =20= URL in the user's browser, no matter where they click in a site. -Brian --------------------------------------------------------------------- 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