Installing FastCGI on Scientific Linux
Hello,
I'm a complete linux newbie & I'm trying to install fastcgi on scientific linux. I followed this tutorial. after doing everything and setting the permissions as told, I'm getting the error below when I open my site. can someone help me please? thanks Forbidden You don’t have permission to access /cgi-bin/php.fcgi/index.php on this server. |
before you get too far
you are aware that this "fastcgi" was last updated in 2007 and might not even work on the current apache and current php from 2012 and the web page was last updated in 2009 so is there a "MUST use" reason for this software |
the reason is, I'm running linux as a virtual server with limited memory. and I read that fastcgi has much better performance than mod_php, so I thought maybe I can speed up my sites this way.
I also read about apache alternatives like ngix or litespeed, I might also try them. as I told I'm a complete linux newbie, maybe do you have any suggestions for my situation? thanks |
if you are worried about system resources
look into using Nginx http://nginx.org/ it uses less resources that most others and is activity supported normally it is not a good sign for software that it has not been updated in 5 + years or when the web site was last updated 3 years ago |
I have found out this is a .htaccess problem.
If I put an empty .htaccess, site is loading fine. If I add the code below, I get "Forbidden You don’t have permission to access /cgi-bin/php.fcgi/index.php on this server." error. Does anyone know how can I fix this? # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress |
All times are GMT -5. The time now is 11:11 AM. |