httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] Unique Home Page
Date Tue, 21 Apr 2009 13:11:48 GMT
Dondi Williams wrote:
> This EXACTLY what I need....
Ok, and did you read what else I wrote before, about the user profiles ?
It probably works with Firefox also.
That is really the easiest way.

There exists no other way to have Apache *automatically* know about the 
current *Windows user-id*, than to implement some kind of "Windows 
authentication" scheme for both the browser and Apache.
(the emphasis is for the other contributors here)

That normally means NTLM-based authentication, and that would mean that 
you have at least a full-fledged Windows network set up, with a Windows 
Domain, a Domain Controller, etc..
I believe that this is much more than you are willing, or able, to do here.

Other than that, you could set up Apache to do what is called "Basic 
Authentication", but that would anyway mean that whenever a user calls 
up a page on your webserver, they would get a login dialog where they 
have to (re-)enter a user-id and password.  It will not be able to pick 
up automatically the Windows user-id from Windows.
Also, it means that you will have to create and maintain a 
users/passwords file, only for Apache.
And then you will still have to put additional configuration in Apache, 
to have it return a specific homepage for each specific user.
Again, I believe that if this is only meant to be a convenience for each 
user, rather than a protection mechanism, it is not worth your time.

Just profiles (or at the limit bookmarks) in the browser is much easier 
and faster.

Detailed HowTo :

- in your Apache top document directory, create 2 html pages :
   - welcome-dad.html
   - welcome-mom.html

Login to the PC as "dad".
Call up Firefox.
In the Options or Preferences somewhere, you can set the homepage to use 
when Firefox starts.  Set this as "http://localhost/welcome-dad.html".
Close Firefox.
Open Firefox.
It should show that page.

Logout and login as "mom".
Do the same as above, substituting "welcome-mom.html".

Logout again and login again as "dad", call up Firefox.
Does that match your needs, or do you want a to spend an aditional week 
at this ? (seriously).

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message