Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 39806 invoked from network); 21 Apr 2009 08:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Apr 2009 08:00:08 -0000 Received: (qmail 60075 invoked by uid 500); 21 Apr 2009 08:00:04 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 60037 invoked by uid 500); 21 Apr 2009 08:00:04 -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 60028 invoked by uid 99); 21 Apr 2009 08:00:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 08:00:04 +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 aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 07:59:54 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 9FD26226073 for ; Tue, 21 Apr 2009 09:57:29 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YzOlGqECmv3V for ; Tue, 21 Apr 2009 09:57:29 +0200 (CEST) Received: from [192.168.245.129] (p549EA507.dip0.t-ipconnect.de [84.158.165.7]) by tor.combios.es (Postfix) with ESMTPA id 52F78226071 for ; Tue, 21 Apr 2009 09:57:29 +0200 (CEST) Message-ID: <49ED7CD9.8020101@ice-sa.com> Date: Tue, 21 Apr 2009 09:59:21 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: aw@ice-sa.com User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: users@httpd.apache.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Unique Home Page Dondi Williams wrote: > I am running Apache 2.2.9 on a Windows Vista PC and have unique UIDs for my > family members. I want each family member to have their own unique home page > when they login to the PC. How can I enable this within Apache? I also have > PHP 5.2.6 operational. Ok, I'll bite, but just a little bit. What you are asking, could become technically very complex, and I am not sure if the circumstances really justify such work. I think first, you have to imagine the following situation, because that is, technically, how it is : imagine that your Apache server does not run on the Windows XP PC where you login (in Windows) as a user, but that this Apache server runs on a separate machine connected to your PC through the network. When you login to your PC as a user, Apache does not know that. Then you call up Internet Explorer, and Apache still does not know that. Then in IE, you enter the URL of the Apache server (in this case, probably just "http://localhost") and IE sends a HTTP request to the server "localhost", for the page "/", through a TCP/IP link, using the HTTP protocol. It just happens that this "localhost" is in your case the same machine, but it could just as well be another machine on the other side of the world. When Apache gets this request, via TCP/IP, it gets exactly these 2 lines : GET / HTTP/1.1 Host: localhost That's it. In other words, Apache does not get any information as to who is logged-in on the machine that runs this browser that sent this request. (And that's good, because otherwise, any website in the world to which you connect via IE, would get your Windows login userid). In order for Apache to get additional information indicating "who" sent this request, you would have to have in place some authentication scheme, at the IE level and at the Apache level, that forces IE to send a user-id to Apache, at the same time as the request. This might be possible, but it is complicated at the best of times, and in this case would be /very/ complicated. So, what I suggest instead in this : As far as I know, when you set up different user accounts under Windows XP, Windows keeps a separate "profile" per user. Among the information stored in that per-user profile, is probably each user's "preferences" in IE, among which the "preferred start page" of each user. Why don't you then set up different html pages in Apache (one for each user), and then set up, for each user in IE, this page as their preferred homepage ? In other words, when userA logs in and calls up IE, IE will automatically load the URL "http://localhost/homepages/userA.html". And when userB logs in, IE will automatically call up the page "http://localhost/homepages/userB.html". --------------------------------------------------------------------- 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