I have hosted codeigniter application in apache2.4 with php7.2 docker environment. Not able to resolve routes correctly.
PATH
/var/www/html/apps/sample1
browser PATH
working fine but routes controller and actions is not get resolved until i use index.php
Correct Expectation
.htaccess current configuration, Apache mod_rewrite already enabled
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /app/innovative_travel_web/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
<IfModule mod_php5.c>
php_value short_open_tag 1
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200
</IfModule>
Kindly please guide me, how can i fix it.