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 all

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

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 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

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