LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2012, 07:06 AM   #1
gezginrocker
LQ Newbie
 
Registered: Feb 2012
Posts: 16

Rep: Reputation: Disabled
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.

Last edited by gezginrocker; 02-17-2012 at 06:38 PM.
 
Old 02-17-2012, 06:02 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 02-17-2012, 06:33 PM   #3
gezginrocker
LQ Newbie
 
Registered: Feb 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
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

Last edited by gezginrocker; 02-17-2012 at 06:37 PM.
 
Old 02-17-2012, 07:34 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 03-04-2012, 08:04 AM   #5
gezginrocker
LQ Newbie
 
Registered: Feb 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing Scientific Linux 5.5 on Dell XPS 15 subhash.rao Linux - Laptop and Netbook 8 02-19-2011 11:00 AM
[SOLVED] Installing Scientific Linux 5.5 on DELL XPS 15 subhash.rao Linux - Laptop and Netbook 2 02-12-2011 10:34 AM
Installing Gnumeric in Scientific linux 5.5 Alexvader Red Hat 5 11-02-2010 05:23 PM
HELP installing SCIENTIFIC LINUX erbegu Linux - Newbie 2 11-09-2009 06:50 AM
Removing Scientific Linux and installing Slackware kd5giv Slackware - Installation 15 08-25-2006 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration