LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing FastCGI on Scientific Linux (https://www.linuxquestions.org/questions/linux-newbie-8/installing-fastcgi-on-scientific-linux-929691/)

gezginrocker 02-16-2012 07:06 AM

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.

John VV 02-17-2012 06:02 PM

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

gezginrocker 02-17-2012 06:33 PM

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

John VV 02-17-2012 07:34 PM

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

gezginrocker 03-04-2012 08:04 AM

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.