[geeks] Apache help
Andrew Sydelko
andrew at sydelko.org
Thu Apr 11 21:39:05 CDT 2002
On Thursday, April 11, 2002, at 09:29 PM, Bill Bradford wrote:
> Okay, I need to be able to do this:
>
> 1. go to http://web.server.machine
> 2. Have a login / password box pop up
> 3. login, say as "user1", with user1's password
> 4. Get redirected to http://server/users/user1 (or whatever directory
> tree).
>
> Thoughts on the easiest way to do this? MUST be password-protected, and
> *cannot* be normal UNIX users so I cant do /~user1.
Can't you just set up a password protected (.htaccess) cgi script
that does the redirect? The authenticated user is usually passed as part
of the environment in apache. I think it's the REMOTE_USER variable.
--andy.
More information about the geeks
mailing list