18 Oct 2016

Creating Project From Scratch in CodeIgniter 3.1.0 on Xampp


Step 1) 
Download:

  • Codeigniter 
  • Twitter Bootstrap (http://getbootstrap.com/2.3.2/)

Create New Folder (project name) in Xampp htdocs and Combine sub-folders of both
Bring .htaccess file from application folder to root folder
Some of files like (User Guide or licence are not needed to copy here)

Step 2)
.Htaccess file (Below permission) shows Permission denied error at Front-End. It need to replace with another code

Code to Remove
<IfModule authz_core_module>
    Require all denied
</IfModule>
<IfModule !authz_core_module>
    Deny from all
</IfModule>

This will remove index.php from Url
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]

No comments:

Post a Comment