CodeIgniter is a powerful object-oriented PHP framework that Nathaniel introduced me too. It saves a lot of time and pain by structuring your PHP-based application in a logical way while providing you the tools you need to easily render forms, safely access databases, and much more with minimal code. It also utilizes the popular Model-View-Controller (MVC) design, commonly seen in Java Enterprise and ASP.
Unfortunately, CodeIgniter may not run nicely with certain configurations of PHP and non-Apache web servers due to the handling of the PATH_INFO variable (common diagnosis is only being able to hit your index page, no matter what the URL is). The following sets up PHP and Abyss Web Server to handle this issue.
You’ll want to follow my initial web server setup guide here if you don’t have Abyss and PHP installed yet. After downloading and extracting CodeIgniter 1.7 to the folder I wanted to work out of, I set the server’s documents path (under Configure Host/General) to serve this folder (for reference, the index.php extracted from Code Igniter was at the top level inside this folder).
Configure the following settings in the Abyss Web Console as follows (the breadcrumb trail at the top of the screenshots indicates where these config pages are):
Note: if you want robots.txt (for search engine crawlers) or other paths to be accessible, like image directories, you’ll need to add them as conditions: i.e: Variable: REQUEST_URI, Conditions: Does not match with, Regular expression: robots.txt .
And if all goes well, you’ll now be able to view your CodeIgniter page. For further information about getting started with CodeIgniter, check out these tutorial videos here!
Enjoy!
[…] the rest here: Installing CodeIgniter 1.7 on Aprelium Abyss Web Server (X1/X2) Related ArticlesBookmarksTags Use of PHP For Better Web Designing PHP as every web […]
By: Installing CodeIgniter 1.7 on Aprelium Abyss Web Server (X1/X2) | PHP-Blog.com on December 4, 2008
at 6:32 pm
Yeah man! Code Igniter rocks. It is like having half of your project already written and fully tested. 😉
At first I ran into configuration problems with the path as well. But admittedly, once the routing rule is set up properly, I find it to be one of the easiest systems available for generating search engine friendly URLs.
By: gnat on December 7, 2008
at 11:22 pm
Awesome! Its genuinely awesome article, I have got much clear idea about from
this paragraph.
By: Minecraft Download Free on July 3, 2013
at 3:28 am
Hey there just wanted to give you a quick heads up and let you know a few of
the images aren’t loading correctly. I’m not sure why but I think its a linking issue.
I’ve tried it in two different internet browsers and both show the same outcome.
By: cell phone spy iphone on October 4, 2014
at 7:24 pm
I every time spent my half an hour to read this web site’s articles or reviews daily along
with a mug of coffee.
By: Minecraft serverliste on November 10, 2014
at 6:51 pm