Re: apache httpd + PHP authentication
| From: | news.php.net | Date: | Sun, 19 Oct 2003 19:24:22 +0000 |
| Subject: | Re: apache httpd + PHP authentication | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166678@lists.php.net to get a copy of this message | ||
Chris Shiflett wrote:
Okay, "dispatcher" would probably be a better name. It preps the environment before including the page's code.A "parser" is called every time a page is accessed. If no page is defined, the home page is loaded. Subsequent pages are linked withhttp://dictionary.reference.com/search?q=parser Very amusing.
-- jimoe at sohnen-moe dot comIs there a way to use a parser as above and still have httpd recognize the need for a name/password?I'm sure there are many ways. You could check for the .htaccess yourself before including the file, and require HTTP authentication where appropriate. What you can't do, however, is presume that you can write a script that handles requests instead of Apache and magically have your code do everything Apache does. I do *NOT* want to duplicate the httpd functionality, I want to preserve it.