Re: Help with Apache Configuration in Dockerized PHP Application

Eric Covener <[email protected]>
Newsgroups gmane.comp.apache.user
Message-ID <CALK=YjPLCGvDjhna_ZN7e7pgkK=Cx+cCXgH8-4wkQmjwL8vgNg@mail.gmail.com>
On Mon, Oct 7, 2024 at 7:12 AM Eric Covener <[email protected]> wrote:
>
> >> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid 131326541519672] [client 192.168.16.1:49194] AH01630: client denied by server configuration: /usr/local/apache2/htdocs/apps/admin/public_html/.htaccess
>
> This error means it's not filesystem permissions.  Are there other
> vhosts/*.conf you didn't show?  apachectl -S from within the container
> would summarize it.

Based on the error, It seems like you may be unexpectedly accessing
the .htaccess file directly via a HTTP client, which is rejected by
design with this snippet:

<Files ".ht*">
    Require all denied
</Files>



-- 
Eric Covener
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.