Re: Unique Home Page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux