NYCPHP Meetup

NYPHP.org

[nycphp-talk] php authentication and .htaccess protection

Chris Snyder csnyder at chxo.com
Fri Apr 2 14:29:43 EST 2004


David Yun wrote:

> Okay, so everything in a given directory gets sent through a script 
> that you specify in the SetHandler, right?

Yep. The downside is that your script has to be smart enough to 
reimplement the parts of Apache that it's taking over -- directory 
listings, file metadata (content-type, size, last-modified, etc).

>what is the "resource" you are referring to? 
>
Files in websites are resources, from Uniform Resource Locator.

>Would
>this work even if the beta site or page is a web application with
>authentication scripts of its own?
>
>  
>
Don't know? Don't see why not, though.
Perhaps what you really want in that case is to have the site act as a 
proxy to your development server.




More information about the talk mailing list