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

2024-10-09 Thread Frank Gingras
On Wed, Oct 9, 2024 at 5:31 AM Abhijith wrote: > Thanks I understand. But can you suggest any debugging method to find out > which file is requesting the file > > On Wed, 9 Oct 2024, 10:37 Frank Gingras, wrote: > >> >> >> On Tue, Oct 8, 2024 at 11:25 PM Abhijith wrote: >> >>> Yes, I understand

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

2024-10-09 Thread Abhijith
Thanks I understand. But can you suggest any debugging method to find out which file is requesting the file On Wed, 9 Oct 2024, 10:37 Frank Gingras, wrote: > > > On Tue, Oct 8, 2024 at 11:25 PM Abhijith wrote: > >> Yes, I understand that now. That I shouldn't allow clients to access my >> .htt

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

2024-10-08 Thread Frank Gingras
On Tue, Oct 8, 2024 at 11:25 PM Abhijith wrote: > Yes, I understand that now. That I shouldn't allow clients to access my > .httaccess file. I don't know why the error occuring > > On Tue, 8 Oct 2024, 17:47 Frank Gingras, wrote: > >> >> >> On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, >> wrote: >

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

2024-10-08 Thread Abhijith
Yes, I understand that now. That I shouldn't allow clients to access my .httaccess file. I don't know why the error occuring On Tue, 8 Oct 2024, 17:47 Frank Gingras, wrote: > > > On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, wrote: > >> Hi, >> Yes, In the the root directory there is .htaccess fil

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

2024-10-08 Thread Frank Gingras
On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, wrote: > 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\.i

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):*