Hello friends, this tutorial we are discussing about how to run CodeIgniter framework on kali Linux and what are the problem is face when run any php framework on kali Linux operating system. Basically in Linux operating system we face the common error like ‘Not Found’, it’s come from will redirect to any controller. Codeigniter error when Redirect URL (Not Found) also in Ubuntu.
We need following steps
Step 1:change The permission of html directory.
sudo chmod -R 777 /var/www/html/
sudo chmod -R 777 /var/www/html/[Directory_name_of_frame_work]
Step 2: Make sure you have been enabling mod_rewrite.
sudo a2enmod rewrite
sudo service apache2 restart
Step 3: you have set AllowOverride All in apache2.conf.
sudo vi /etc/apache2/apache2.conf
Step 4: Please Insert below code into apache2.conf file.
<Directory /var/www/html/> AllowOverride All </Directory>
Step 5: restart apache server.
service apache2 restart