Questions tagged [codeigniter]

CodeIgniter is an open source MVC framework for PHP.

From the website: CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.

Links

69 questions
0
votes
0 answers

Nginx Removes the index.php from URL

I have a codeigniter php application on nginx. It works as expected on Apache but after moving to nginx, I noticed that the index.php is automatically removed from the URL in all my links. Infact when I try using index.php it does not go to the…
0
votes
2 answers

Should i separate MYSQL from PHP and NODE JS to another server

I am a PHP Programmer and working on community website. I am using Apache NodeJS Php and Mysql on server: 24GB RAM Intel i7 950 8Cores 8Threads 3.06GHz, 120GB SSD HDD 12GB SWAP (dedicated server) OS: Debian Wheezy. My question is should i have to…
0
votes
1 answer

Under nginx and codeigniter how do i redirect certain pages from http to https

I want that certain pages to be available on https but not on http. I have a Code Igniter framework there. Here is the code from nginx conf: server { listen 80; ...... #enforce https if ($request_uri ~…
0
votes
1 answer

Errors uploading CodeIgniter Website to Amazon EC2

I tried to transfer my CodeIgniter website to /var/www/html located within my Amazon EC2 micro instance using FileZilla. However, the transfer was unsuccessful as I received hundreds of transfer errors while attempting to transfer my CodeIgniter…
Anthony
  • 201
  • 1
  • 6
  • 12
0
votes
1 answer

Problems with Rewriting URLs having fcgid enabled

First some information about my server: Apache2 Version: 2.4 Modules: php5 : disabled; rewrite : enabled; suexec : enabled; fcgid : enabled; Php Version: 5.3.3 I am currently creating a website using CodeIgniter, i would like to rewrite my URL's to…
Xavjer
  • 101
  • 2
0
votes
1 answer

Can't get Codeigniter URLs working on Nginx

After successfully setting up nginx on my windows, another problem where I am stuck. Though, everything works as usual. I am able to access pages and PHP works fine but problem comes when I try to use Codeigniter type urls, by which, I…
Shubham
  • 101
  • 1
  • 5
0
votes
1 answer

Apache rewrite rule to remove index.php and direct certain areas to https

I have a codeignitor application running on Apache2, I have managed to remove the index.php from the urls with this .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L]…
squareborg
  • 592
  • 3
  • 14
0
votes
1 answer

NGinx rewrite rules and post parameters

I have a website, using CodeIgniter, and running under NGinx. I used these rewrite rules to cleanup the URL, and remove the index.php from the URL. Unfortunately, I have a problem with AJAX queries which send POST arguments to the controller, as the…
Emidee
  • 131
  • 7
0
votes
1 answer

apache rewrite > nginx rewrite

I finnaly got nginx running my site are made with codeigniter and I have this old rewrite from my .htaccess #map all request urls to a specific controller method RewriteRule ^(.*)$ index.php?/welcome/domain/$1 [L] my question is how do I convert…
maccen
  • 1
0
votes
1 answer

Apache2 not displaying one directory, causing .htaccess rules to fail. What's wrong?

I have a CodeIgniter installation in a VirtualHost on Apache2 on Ubunto Natty set up as follows: /application /system ... /www/index.php Here is my .htaccess which resides in /: RewriteEngine On RewriteBase…
Michael
  • 125
  • 5
0
votes
1 answer

Multiple Rewrite conditions and rules for custom paths

At the moment I have… RewriteCond $1 !^(index\.php|img|css|js|fonts|jw|mail|uploads|user_guide) RewriteRule ^(.*)$ /index.php/$1 [L] However, I want to be able to rewrite a url like /page/about/ similarly so it is actually…
user75734
  • 11
  • 2
0
votes
1 answer

CodeIgniter http://127.0.0.1 page not found problem

I’ve recently started with Codeignigter on local windows machine. I have install the IIS and extracted only ci folder and place index.php, application, system and user_guide in C:\Inetpub\wwwroot. I've made change in the…
user99
  • 1
  • 1
0
votes
2 answers

Finding a rewrite rule

I inherited a Codeigniter based PHP application. I'm trying to setup my development workstation to mimic the production system for some development work. An example url would be http://example.production/start/PAF/paf the only way I can get it to…
Clutch
  • 970
  • 1
  • 8
  • 13
0
votes
3 answers

403 error with codeignitor

When I type in the standard web address for my site, I get a 403 error. However, when I type in a more exact address, say pointing to an index.php file, everything shows up fine. I'm using Anodyne Productions' Nova (SMS 3) which uses codeignitor. …
DJB
0
votes
2 answers

CPU Usage 98% /usr/sbin/mysqld and server down

How to solve this issue. php codeigniter framwork Everyday our server goes down because of these issue. CPU usage 98 % Ram used 21 083 MB /usr/sbin/mysqld