You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Gregory (Grisha) Trubetskoy" <gr...@apache.org> on 2003/12/18 05:10:59 UTC

.htaccess contents

If someone knows this off the top of your head, I'd appreciate the answer:

Is it true that there is no way to get the directives specified in
.htaccess files? The main server config can be optained via the
config_tree, but the .htaccess directives are passed to corresponding
modules and aren't stored separately, correct?

(Someone asked on the mod_python list how to get .htaccess contents, seems
like the answer is to manually read it, and all the parent directory
ones... I thought I'd check here, perhaps there is a better way.)

Thanks!

Grisha

Re: .htaccess contents

Posted by Cliff Woolley <jw...@virginia.edu>.
On Wed, 17 Dec 2003, Gregory (Grisha) Trubetskoy wrote:

> Is it true that there is no way to get the directives specified in
> .htaccess files? The main server config can be optained via the
> config_tree, but the .htaccess directives are passed to corresponding
> modules and aren't stored separately, correct?
>
> (Someone asked on the mod_python list how to get .htaccess contents, seems
> like the answer is to manually read it, and all the parent directory
> ones... I thought I'd check here, perhaps there is a better way.)

That sounds right.

--Cliff