[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: htaccess being ignored in DirectoryMatch and Directory ~



On Wed, 20 Feb 2002 at 14:13:27 +0100, Jakub Ambrożewicz wrote:
> Hello
> 
> I have a problem with apache from potato (i dont know if 
> newer version also). When i try do set AllowOverride
> for directories using regexp's  <Direcotry ~ regexp> or 
> <DirectoryMatch regexp> they are just beeing ignored.
> So, the question is how to enable htaccess files for
> users? I found that Sheldon Hearn had similiar problem:
> it was reported as a bug. Suggested solution was to use
> <Directory /home/*/public_html> but it didn't worked for
> me, and as Sheldon didn't responded to bugteam's response
>  :-) problem was considered done. 
> And I still have a problem... so any suggestions are 
> welcome
> 

I've also found some unexpected behaviour using <Directory> but haven't
got enough time to narrow the problem.

But I think that such expression works:

<DirectoryMatch ^/home/.*/public_html>
(note .* instead of *)
or just:
<Directory /home>

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 tomek@lodz.tpsa.pl   http://www.lodz.tpsa.pl/   | ones and zeros.



Reply to: