Posted by: Josh | December 4, 2008

Installing CodeIgniter 1.7 on Aprelium Abyss Web Server (X1/X2)

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.

Trademark of Code Igniter

Trademark of CodeIgniter

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):


This configures PHP to use CGI standards to talk to Abyss


Note the "REDIRECT_STATUS" variable, 200 means "OK"


This removes the need for /index.php/your_page/ so you can access it just by /your_page/

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!




  1. […] 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 […]

  2. 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.

  3. Awesome! Its genuinely awesome article, I have got much clear idea about from
    this paragraph.

  4. 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.

  5. I every time spent my half an hour to read this web site’s articles or reviews daily along
    with a mug of coffee.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: