In answer to first question something like this should work: location / { root /home/user/public/codeigniter; index index.php index.html; if (-f $request_filename) { break; } if (!-e $request_filename) { rewrite ^(.*)$ /licitar/index.php?$1 last; } error_page 404 /licitar/index.php; }by aliakbar - Migration from Other Servers
It's PHP version 5.2.4. I think I'm just gonna upgrade Ubuntu. I already had to build openssh from source just to jail users =P.by aliakbar - Migration from Other Servers
It returns nothing. I just used apt-get install php5-common php5-dev php5-mysql php5-tidy php5-xmlrpc php5-xsl php5-cgi php5-mcrypt php5-curl php5-gd php5-memcache php5-mhash php5-pspell php5-snmp php5-cli memcached on Ubuntu LTS. Am I gonna have to build PHP from source? I could upgrade Ubuntu but my boot partition is too small right now so I'd rather not.by aliakbar - Migration from Other Servers
Oh, I'm REALLY sorry for wasting your time it turns out my cached version of the page was set to serve it as a file it does return a 502 error (phew!) I was really worried. I use Monit actually does supervisord have any performance benefits over it? I didn't like PHP-FPM or spawn-fcgi cause they my scripts seemed to execute slower then when I just used a shell script to start and stop php5-cgi, whby aliakbar - Migration from Other Servers
Hi, for some reason force_redirect shows up as disabled even though set to on in my /etc/php5/cgi/php.ini file. I've restarted PHP multiple times and even changed the value in all the other php.ini files using locate. Is this a security concern or not?by aliakbar - Migration from Other Servers
php5-cgi crashes on occasion and nginx serves the files as plain text and forces the browser to download them. This is a huge security concern for me cause they can see the contents of my PHP files. 1. Is there anyway to make it so files with the extension .php return a 403 forbidden status code if for some reason fastcgi isn't working? 2. I'm having the same issue with files that start wby aliakbar - Migration from Other Servers