It will give you two Directories system and user_guide
like
/var/www/html/some-folder/user_guide and
/var/www/html/some-folder/system
point your broswer (usually it is firefox 3) to
http://localhost/some-folder
You will greeted with codeigniter welcome Page.
That is it CodeIgniter Installed.
point browser to
http://localhost/some-folder/user_guide
You will get a detailed documentation part of codeigniter.
First Application
the system folder contain two parts
The directory structure
codeigniter system files and your application files
the application files is in application directory
This is the directory where you work with.
System
System folder contains all the framework files including framework build class libraries, fonts, database configuration for your system, languages files, helper classes etc.
Application
Projects files will place inside this folder. Projects controller class will be placed inside Controller,
projects database related class will be placed inside Model,
Template based work will place inside Views folder.
User defined libraries will be place inside libraries.
Projects oriented application configuration will be done inside config folder such as autoload, routes etc.
uncomment this line by deleting the # mark in the beginning.
in line no 320 if it is like#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
then change to
AllowOverride All
then save and clode this fie. Make a backup copy of this file before editing will avoid any problems.
restart the httpd service by
service httpd restart
then point your browser to your codeigniter directory.
your default controller mycontroller will load with out hasle
put an echo to test that .
Have fun with CodeIgniter.
There is a stunnig application buit with codeigniter called open-blog. Download that and examine the code for extended experience. In that Matchbox library is used to make modules
More Stories
1 thought on “Code Igniter for Beginners in Fedora 11”
You saved my day dude. I recently migrated server from ubuntu to fedora core 11. The apache wasn’t quite working with mod_rewrite in .htaccess like it was doing in ubuntu. So the “AllowOverride All” did the trick. Thanks a lot.
You saved my day dude. I recently migrated server from ubuntu to fedora core 11. The apache wasn’t quite working with mod_rewrite in .htaccess like it was doing in ubuntu. So the “AllowOverride All” did the trick. Thanks a lot.