User login

FastCGI

503 Service Unavailable error caused by missing fcgidwrapper directive

This nice big site-encompassing 503 error:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.2.9 (Debian) mod_fcgid/2.3.5 mod_ssl/2.2.9 OpenSSL/0.9.8g WebAuth/3.6.0 Server at definitivedrupal.org Port 80

Was caused by a missing fcgidwrapper directive, Stefan identified.

sites apache config in .red/apache
it is per site

Manually setting up fcgi wrapper permissions

ssh root@agaric-prod
vi /home/members/agariclabs/sites/agaric.com/.red/apache2/apache.conf

Add these two lines inside the VirtualDirectory:

        FCGIWrapper /home/members/agariclabs/sites/agaric.com/bin/php-cgi .php
        SuexecUserGroup agaric agaric

Then copy the bin directory with php-cgi in it from another project and set the permissions to the same user group defined there.

Syndicate content