Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Hi, Yes, In the the root directory there is .htaccess file, the content of the file is ``` RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico) RewriteRule ^(.*)$ /index.php/$1 [L] ``` Since by @Eric's sugge

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Frank Gingras
On Mon, Oct 7, 2024 at 7:51 AM Eric Covener wrote: > On Mon, Oct 7, 2024 at 7:12 AM Eric Covener 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/apache

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Eric Covener
On Mon, Oct 7, 2024 at 7:12 AM Eric Covener 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 > > T

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Thanks for the response, There is no other config file than admin.conf. here is the result of `apachectl -S`: ``` [Mon Oct 07 11:30:45.926201 2024] [core:trace3] [pid 102:tid 123653751024456] core.c(3469): Setting LogLevel for all modules to trace8 [Mon Oct 07 11:30:45.926287 2024] [core:trace3] [p

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Eric Covener
>> [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

[users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Hi all, I’m working on Dockerizing a PHP application and configuring Apache, but I’m encountering an issue related to `.htaccess` that I can’t seem to resolve. I’d greatly appreciate any guidance from the community! Here’s the setup I’m working with: *Docker Compose File (docker-compose.yml):*