CodeIgniter is an open source MVC framework for PHP.

learn more… | top users | synonyms

-1
votes
3answers
45 views

How do I map root domain to external subdomain [duplicate]

I'm trying to map somedomain.com to here.anotherdomain.com. I can do any sub domains of the original using a CNAME but the root domain ( somedomain.com ) needs an A record. This is currently set to ...
0
votes
1answer
89 views

Configuring .htaccess on a site with a CodeIgniter app and traq issue tracker

I have this site running on CodeIgniter and I have installed traq for issue tracking. Under public_html I have my application and system directory as well as an assets directory, and also traq. i.e.: ...
0
votes
0answers
42 views

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 ...
1
vote
1answer
200 views

nginx rewrite or internal redirection, primary script unknown

I am converting to nginx from apache. The application in question is as follows /contentlibrary_js /contentlibrary_js/app/index.php --> one page ajax app /contentlibrary_js/pagecreator/index.php --> ...
0
votes
1answer
398 views

Codeigniter URL only work for default router

I've installed Codeigniter on Nginx with this configuration : server { listen 80; server_name myserver; root /usr/share/nginx/html; index index.php index.html index.htm; error_log ...
0
votes
0answers
68 views

I got “Request exceeded the limit of 10 internal redirects”?

I have a rewrite RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^(.*).club.domain.net$ RewriteRule ^(.*) %{HTTP_HOST}$1 [C] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
0
votes
2answers
326 views

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: ...
0
votes
0answers
152 views

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 ...
0
votes
0answers
209 views

Nginx Virtualhost; Can't Add Simple Rewrite Rule

I've come up with this pretty handy Nginx virtualhost file for a PHP Codeigniter site. It works as-is, but I'm trying to do additional rewrites and I'm not having any luck. server { listen 80; ...
1
vote
2answers
287 views

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 ...
1
vote
0answers
228 views

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 ...
1
vote
1answer
324 views

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 ...
1
vote
1answer
231 views

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 ...
1
vote
0answers
37 views

codeignitor Halogy rewrite issue

Hello all I am hoping someone can help, I am using a cms called halogy (http://www.halogy.com/) built off codeignitor but cant figure out how to get it to work correctly in IIS I think its to do with ...
1
vote
0answers
259 views

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 ...
-1
votes
1answer
280 views

Exchange server and Codeigniter email library [closed]

I have a site built with Codeigniter which uses the email library to automatically notify the site owner about enquiries entered in to a contact form. However, they use Exchange server and the ...
-1
votes
1answer
621 views

Blank CodeIgniter Home Page on Amazon EC2 [closed]

My CodeIgniter app is working fine in WAMP using http://localhost/myapp However, I'm getting a blank page on my Amazon EC2 micro instance using ...
0
votes
1answer
163 views

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 ...
0
votes
1answer
107 views

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 ...
0
votes
1answer
2k views

NGINX + Codeigniter doesnt work can't access controllers and send parameters to controllers

I want to run codeigniter under NGINX but it just doesnt work. I want to be able to send a parameters to controllers methods. But so far I can not even access controller using the address ...
0
votes
1answer
798 views

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 ...
1
vote
1answer
304 views

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 ...
0
votes
1answer
2k views

cant remove index.php from url in codeigniter

iam new in codeigniter frame work,i want to remove index.php from url and tried many times bt its not working..... here is my .htaccess file RewriteEngine on RewriteBase /test/ RewriteCond $1 ...
1
vote
0answers
317 views

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 ...
0
votes
1answer
319 views

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 ...
0
votes
1answer
610 views

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 ...
1
vote
0answers
687 views

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 ...
1
vote
1answer
1k views

codeigniter unable to send email online [closed]

I am trying to send email when a user registers but I get so many errors like A PHP Error was encountered Severity: Warning Message: fsockopen() [function.fsockopen]: unable to connect to ...
-1
votes
0answers
738 views

Configure Nginx to run Codeigniter/PHP app?

I'm totally stumped. I've looked at about a dozen tutorials explaining how to configure Nginx to run PHP and a Codeigniter app. I can't get anything to work and worse yet typing mysite.com into the ...
10
votes
1answer
22k views

What is the name and location of the Nginx config file (htaccess equivalent)?

There are many tutorials on how to write Nginx rewrite rules to mimic Apache's .htaccess file but I can't confidently say I know what the name or location of this so-called Nginx config file actually ...
1
vote
2answers
6k views

.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 ...
2
votes
0answers
1k views

Apache + Codeigniter + New Server + Unexpected Errors

Alright here is the situation: I use to have my codeigniter site at bluehost were I did not have root access, I have since moved that site to rackspace. I have not changed any of the PHP code yet ...
1
vote
1answer
390 views

Mod_rewrite is ignoring the extension of a file

This is my entire mod_rewrite condition: <IfModule mod_rewrite.c> <Directory /var/www/> Options FollowSymLinks -Multiviews AllowOverride None Order allow,deny allow ...
2
votes
4answers
913 views

how to cache my website?

I have few questions about caching a website, since I haven't tried caching a site before. First is how to cache a site so it will have a faster loading when clients browse the site. For example I ...
3
votes
2answers
5k views

What is nginx equalant for my htaccess mod_rewrite?

Previously i was using linode VPS running Apache for my CodeIgniter website. Today i installed nginx and my website landing page is coming but the other pages that is using htaccess for rewriting URL ...
1
vote
1answer
5k views

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 ...
-2
votes
2answers
374 views

Cron job on Justhost not accepting parameters

I have a PHP web app on Justhost (webhosting provider). This PHP web app uses the Codeigniter framework. To run cron jobs on this web app (http://codeigniter.com/user_guide/general/cli.html): php ...
0
votes
1answer
430 views

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 ^(.*)$ ...
0
votes
1answer
4k views

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?
0
votes
1answer
342 views

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 /: <IfModule ...
0
votes
1answer
60 views

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/ ...
0
votes
1answer
388 views

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. ...
0
votes
2answers
67 views

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 ...
1
vote
2answers
308 views

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 ...
0
votes
1answer
522 views

Stop Wordpress from hi-jacking CodeIgniter URLs using .htaccess

Wordpress installed at root web directory: /var/www/html/ CodeIgniter installed in a sub-directory: /var/www/html/ciapp/ When I access http://www.mysite.com/ciapp/ the main CI controller is ...
0
votes
3answers
1k views

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 ...
1
vote
2answers
1k views

Trying to run a codeigniter app on custom php

I have a CodeIgniter app that I deployed to a server with php 5.2 and my dev box has 5.3, and some stuff doesn't work anymore. I didn't want to upgrade php and risk the other app on the server having ...
1
vote
2answers
246 views

How to best maintain security with a contractor installing a PHP/CodeIgniter/MySQL app?

I've been working with an offshore developer on an alpha version of my web app. He's going to be installing it on my server soon, and while I trust him, I also want to be prudent. How can I ...
1
vote
2answers
7k views

CodeIgnitor Error 403 Access forbidden [duplicate]

I extracted CodeIgnitor to XAMPP's htdocs and when I tried to access index.php like this: h t t p://127.0.0.1/ci/index.php I get the following error message: Access forbidden! You don't have ...
3
votes
7answers
11k views

What are the possible causes of this error: “Unable to > connect to ssl://smtp.gmail.com:465”?

I'm getting this error on my local machine when sending emails using (gmail's smtp + PHPMailer + CodeIgniter), which I wasn't getting on our previous office (we had to move offices). Severity: ...