LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 08: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 07:38 PM.
 
Old 02-17-2012, 07:02 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,985

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
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, 07: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 07:37 PM.
 
Old 02-17-2012, 08:34 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,985

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
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, 09: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:00 PM
[SOLVED] Installing Scientific Linux 5.5 on DELL XPS 15 subhash.rao Linux - Laptop and Netbook 2 02-12-2011 11:34 AM
Installing Gnumeric in Scientific linux 5.5 Alexvader Red Hat 5 11-02-2010 06:23 PM
HELP installing SCIENTIFIC LINUX erbegu Linux - Newbie 2 11-09-2009 07:50 AM
Removing Scientific Linux and installing Slackware kd5giv Slackware - Installation 15 08-25-2006 06:16 PM


All times are GMT -5. The time now is 06:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration