Access Denied (security.limit_extensions) |
[Google translation]
Good morning, I developed a new application to migrate from CodeIgniter 3 to CodeIgniter 4. For development, I ran the application on an IIS server. Now I am trying to put the app on a server. But it didn't work. Server features: OS: RedHat Apache: 2.4.X PHP: 8.0.X To figure out the problem, I deleted my app and just sent CodeIgniter 4 empty (welcome_message) I added in Routes.php: $routes->get('/home', 'Home::index'); If I open the link: https://MyAppli/public/index.php => OK If I open the link: https://MyAppli/public/index.php/home => Access denied. Error log: [Thu Mar 09 08:04:06.634956 2023] [proxy_fcgi:error] [pid 9678] [client XXXXXXXXX] AH01071: Error 'Access to script' /app/projects/MyAppli/apache/htdocs/MyAppli/home' was denied (see security.limit_extensions)' I tested with empty CodeIgniter 4 on my IIS => OK In phpinfo() , I couldn't find "limit_extensions" In the php config file, I found "security.limit_extensions" but it is commented out: ;security.limit_extensions=.php .php3 .php4 .php5 .php7 A test was also made with this uncommented line. Do you have an idea ? Thanks for your help.
php-fpm setup somewhere ? https://www.php.net/manual/en/install.fp...extensions
|
Welcome Guest, Not a member yet? Register Sign In |