Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-30-2013, 02:37 PM   #1
LQ Newbie
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
Installing and Configuring CGI for CentOS/Apache

I am trying to install and configure Fast CGI for Apache/CentOS 6 and I can't get it to work...

I followed the instructions located here:

I can't get past the:
"Finally, modify documentroot directory permission as follows. You need to use AddHandler and Action directives for mod_fastcgi:"

Because it won't let me restart apache because of an error on the Action.

Please Help?!

Old 10-30-2013, 11:29 PM   #2
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
On the tutorial you followed under the heading of How do I configure PHP as FastCGI process under RHEL / CentOS Linux?

They expalin how to add those. Make sure you did not skip this step.

With selinux make sure you label the files with the correct contexts and adjust required booleans. If i remember correctly cgi is not allowed by default under selinux
Old 10-31-2013, 12:15 AM   #3
LQ Newbie
Registered: Oct 2012
Distribution: CentOS or Debian
Posts: 25

Rep: Reputation: 3
Try this command as root:

/etc/init.d/httpd configtest
Then tell us what that command's reply is.


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
Help with Apache and Configuring CGI Khadgar Linux - Server 1 08-24-2007 10:07 PM
configuring cgi-bin in apache gtgoku Linux - General 1 01-19-2004 06:22 AM
Configuring Apache for CGI jacksmash Linux - Newbie 18 11-21-2003 01:27 PM
Configuring Apache for CGI jacksmash Programming 3 11-20-2003 10:52 PM
configuring apache for cgi scripts ash_r_c Linux - Software 1 09-23-2003 04:03 PM > Forums > Linux Forums > Linux - Newbie

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

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