logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: FastCGI + PHP - 403 Permission Error
Author
salmon318



Joined: 01 May 2008
Posts: 14

PostPosted: Mon 05 May '08 16:17    Post subject: FastCGI + PHP - 403 Permission Error Reply with quote

I followed the guide:
http://fastcgi.coremail.cn/configuration.htm

to setup my Apache + PHP using FastCGI, however I got a 403 Permission Error. After searching on Google, I found a solution

I changed "SetHandler fcgid-script"

to "AddHandler fcgid-script .php"

And it worked!!! Just curious what is the impact on the change? Why would "SetHandler" not working?

Thanks..
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 05 May '08 21:19    Post subject: Reply with quote

Permission error? How did you set it up? Please post that part from your httpd.conf What is in your error log about that?
Back to top
Brian



Joined: 21 Oct 2005
Posts: 209
Location: Puyallup, WA USA

PostPosted: Thu 08 May '08 5:28    Post subject: same here Reply with quote

I got a 403 when trying to view an HTML page using

SetHandler fcgid-script

...though PHP pages would process correctly.

After I implemented the same change as salmon318 all is well.
Back to top


Reply to topic   Topic: FastCGI + PHP - 403 Permission Error View previous topic :: View next topic
Post new topic   Forum Index -> Apache