Re: Proposal: File_Apache
| From: | Marshall Roch | Date: | Fri, 12 Sep 2003 16:47:16 +0000 |
| Subject: | Re: Proposal: File_Apache | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21445@lists.php.net to get a copy of this message | ||
Mika Tuupola wrote:
What I meant was that the base class has methods to handle authentication-related directives. These methods should be in a class like File_HtAccess_Auth, especially if mod_rewrite directives will be in File_HtAccess_Rewite. As this package is extended to support more directives, it will become confusing to have authentication in the base class and all of the others separate. -- Marshall Roch http://pear.php.net/user/mrochThe problem with File_HtAccess right now is that the base class handles authentication, which is not .htaccess's sole purpose. File_HtAccess, I think, should handle parsing (and validating?) the file, and writing new/modified directives to it.Huh? File_HtAccess does not do any authentication. It parses and writes .htaccess files and offer methods to add/modify directives to it.