Answer the question
In order to leave comments, you need to log in
Why doesn't apache want to work with Directory in .htaccess (Directory not allowed here error)?
Hello! I ran into this problem: when specifying the "Directory" directive in .htaccess, apache gives a 500 error, and in the Directory not allowed here logs. If you transfer Directory to the apache config itself, then everything works as it should, but it doesn’t want to in .htaccess :(
AllowOverride is set to All
Answer the question
In order to leave comments, you need to log in
Because Directory cannot be used in .htaccess (valid contexts are listed in the Context list on this page ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question