PHP and .htaccess
| From: | Les Neste | Date: | Thu, 29 Mar 2001 21:47:17 +0000 |
| Subject: | PHP and .htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46171@lists.php.net to get a copy of this message | ||
Hi all,
We're all familiar with the skanky little box the web browser pops up to
get your username/password in response to a 401 from the web server. What
I want is the same functionality, except through a login web page instead.
I know how cookie-based or session-based logging in works with PHP, but I
would actually prefer (since it's more general) an HTML-only solution if
there is one. Or maybe there's something I can do to configure the server
(Apache) to redirect to a login page if a 401 is generated.
Anyt thoughts? Help would be much appreciated.
............................................................................
Les Neste 678-778-0382 http://www.lesneste.com