This link helped me to fixed it.
https://bobcares.com/blog/codeigniter-http-error-500/
CodeIgniter HTTP Error 500 - Easy ways to fix
CodeIgniter HTTP Error 500 can occur due to many reasons that include PHP fatal issues, error in the script like PHP misconfigurations, missing packages.
bobcares.com
1) Add .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule >
2) I changed mode of directory and files of root directory with following command
chmod -r 777 <myRootDir>
'TIL' 카테고리의 다른 글
[Github] Pull request (0) | 2022.07.08 |
---|---|
[Local Server] apply HTTPS to local development enviroment (0) | 2022.04.02 |
[Apache] Acceess to local server by configured Virtual Host (0) | 2022.03.30 |
댓글