[thelist] htaccess / authentication, etc.

Dan Romanchik dan at danromanchik.com
Thu Oct 16 10:10:45 CDT 2003


Use the $PHP_AUTH_USER variable to decide where to send them.

Dan
----------------------------------------------------------------------------
Dan Romanchik - Web Developer
dan at danromanchik.com, 734-930-6564

----- Original Message -----
From: "Timothy Martens" <timfm at hawaii.rr.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, October 15, 2003 9:00 PM
Subject: [thelist] htaccess / authentication, etc.


> Hi Evolters,
>
> I'd like the ability for my clients to be able to login to their
> protected directory (staging sites) from my home page either from a
> hyperlink which launches a prompt or (perhaps better?) through a form. I
> read a tutorial about how to setup authentication with htaccess, but it
> didn't make any mention of how to drive users to different directories
> based on their username & password. To summarize the task.
>
>  - User on homepage (www.mysite.com)
>  - Clicks on "client login" link  OR enters user/pass into form and
submits
>  - Authentication or Rejection occurs
>  - Authenticated user is sent to their own directory (e.g.,
> extranet.mysite.com/client-1, extranet.mysite.com/client-2, etc
>  - Rejected user is fed a contingency page
>
> This has been done a million times -- so rather than reinvent the wheel,
> can someone point me to a tutorial which might explain how to implement
> such a system? Of course the most secure way to do this is preferable.
>
> Thx,
>
>  t.
>
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>




More information about the thelist mailing list