httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erez Segal" <segale...@gmail.com>
Subject Re: [users@httpd] Is there a way to use external script with .htaccess for authentication?
Date Tue, 24 Apr 2007 18:22:49 GMT
The user will still have to login twice...
I'm sure it's possible.
I've seen at http://www.apacheweek.com/features/userauth the following quote:
"It is also possible to have an arbitrary external program check
whether the given username and password is valid (this could be used
to write an interface to check against any       other database or
authentication service)."
the question is how to do it...

2007/4/24, Joshua Slive <joshua@slive.ca>:
> On 4/24/07, Erez Segal <segalerez@gmail.com> wrote:
> >
> > I specifically wants to use my PHP authentication system, with .htaccess to
> > protect folders.
> >
> > I would imagine something like:
> > "|is_authorized.php" returning Allow/Deny inside the .htaccess
> >
> >  how can this be done?
>
> Not like that, but you can use php for HTTP authentication directly:
> http://www.php.net/features.http-auth
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message