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

68 questions
1
vote
2 answers

System load average is extremely high

I own a website which is running on a VPS since last week. From monday until saturday, everything is going smoothly. The website has around 4.500 unique visitors a day, and the load average and respond time is fine. On a sunday, the website has…
Tomzie
  • 121
  • 3
1
vote
0 answers

nginx codeigniter rewrite: Controller name conflicts with directory

I'm trying out nginx and porting my existing apache configuration to nginx. I have managed to reroute the codeigniter url's successfully, but I'm having a problem with one particular controller whose name coincides with a directory in site root. I…
palerdot
  • 113
  • 5
1
vote
1 answer

nginx: rewrite subdomain to subdirectory without redirect

I'd like nginx to rewrite any http://api.example.org/xyz requests to actually call example.org/api/xyz behind the scenes. The tricky part too is that I'm using CodeIgniter so rather than load a php script at /xyz/index.php I'll need it to reference…
taber
  • 131
  • 6
1
vote
1 answer

Nginx and Codeigniter rewrite error

I am trying to get a site on nginx running based on codeigniter. Some parts work but some fail. I noticed in access logs that index.php sometimes has two slashes at the end insted of one I am also failing to get my post correctly (returns 404). my…
osci
  • 11
  • 2
1
vote
0 answers

codeignitor Halogy rewrite issue

I'm using a CMS called halogy built off codeignitor but can't figure out how to get it to work correctly in IIS. I think its related to the rewrite from Apache (works fine on Apache) heres the .htacess file contents RewriteEngine On RewriteCond…
1
vote
0 answers

Nginx + php5-fpm + CodeIgniter Response Too Slow

I have installed nginx, php5-fpm and setup codeigniter with REST controller on Ubuntu 12.04 LTS. The configurations work but response is too slow at times, even with just a single user. Sometimes the nginx would respond with 504 status code. Please…
1
vote
1 answer

How to setup CodeIgniter with nginx allowing for SSL?

My nginx.conf file has: server { listen 80; listen 443; server_name www.mysite.com; #charset koi8-r; #access_log /var/log/nginx/host.access.log main; root /var/www/mysite/current; index index.html…
Shamoon
  • 901
  • 4
  • 14
  • 22
1
vote
0 answers

500 Error when logging into subdomain using codeigniter

I have a website that has been setup and working fine for ages. It's built using Code Igniter. It's run using .htaccess files to restrict access and hide urls. All fine. Until a couple of days ago when we try to access…
1
vote
0 answers

only removing index.php rule works on my NginX and CodeIgniter as rewrite. Why?

Although I've spent 2 days reading on forums, I still can't get some Codeigniter rewrites working in Nginx. Here is the server configuration: server { listen *:80; server_name artademy.com www.artademy.com; root …
1
vote
2 answers

.htaccess Rewrite Rules Not Working (CodeIgniter)

Here's what I want to do: I'm using CodeIgniter, so all URLs are in the form of http://example.com/index.php/controller/function. However, the script I've written is a essentially a glorified link shortener with some built-in statistics functions,…
stevenmirabito
  • 161
  • 1
  • 2
  • 6
1
vote
1 answer

Mod_rewrite is ignoring the extension of a file

This is my entire mod_rewrite condition: Options FollowSymLinks -Multiviews AllowOverride None Order allow,deny allow from all RewriteEngine On # force www. (also does the…
ngl5000
  • 45
  • 1
  • 8
1
vote
2 answers

Why do I get page not found (404) for correct links?

I have a very strange issue: Google is giving me that some links in my sitemap are not accessible and are giving 404 errors. However, I have tried to open the pages in question and it works fine. The website has been built using codeigniter and here…
Alaa Alomari
  • 638
  • 5
  • 18
  • 37
1
vote
1 answer

what is the limit of maximum simultaneous connection for php mysql codeigniter?

I build a site in CodeIgniter, which have to handle thousand of users in minute or like that. Is there any limit of maximum simultaneous connections for MySQL and PHP?
Madan Sapkota
  • 173
  • 1
  • 3
  • 6
1
vote
2 answers

What Apache settings might affect the speed of a CodeIgnitor page load from one server to another?

One of the pages in one of my apps runs very slowly on the web server compared to my local test server. There are some radical differences in the environments that might explain it, but I'm hoping for a more solvable solution than…
Nate Wagar
  • 143
  • 4
1
vote
1 answer

Stop WordPress from hi-jacking CodeIgniter URLs using .htaccess

WordPress is installed in the root web directory: /var/www/html/ CodeIgniter is installed in a sub-directory: /var/www/html/ciapp/ When I access http://www.example.com/ciapp/ the main CI controller is accessed and executed correctly. However, if I…
Jake Wilson
  • 8,494
  • 29
  • 94
  • 121