Announcement

Collapse
No announcement yet.

CageFS + Apache with FastCGI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CageFS + Apache with FastCGI

    Im setting up a test environment with CloudLinux cagefs + + (apache + fastcgi) and the web server returns forbbiden error.

    Help me please.

    My setup is as follows:

    ==== VirtualHost ====

    Servername ihac.teste.br
    DocumentRoot /home/ihac/public_html/
    ErrorLog /var/log/httpd/ihac-error_log
    CustomLog /var/log/httpd/access_ihac.log combined

    SuexecUserGroup ihac ihac

    Options +ExecCGI
    AllowOverride All
    AddHandler fcgid-script .php .php3 .php4 .php5
    FCGIWrapper /home/ihac/.php-cgi/.phpcgi .php
    Order allow,deny
    Allow from all

    === FastCGI Config ====

    LoadModule fcgid_module modules/mod_fcgid.so
    AddHandler fcgid-script fcg fcgi fpl
    FcgidIPCDir /var/run/mod_fcgid
    FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
    PHP_Fix_Pathinfo_Enable 1
    FcgidMinProcessesPerClass 0
    FcgidMaxProcessesPerClass 8
    FcgidMaxProcesses 150
    FcgidIdleTimeout 60
    FcgidProcessLifeTime 120
    FcgidIdleScanInterval 30
    DirectoryIndex index.php

    ===Folder Permission ===

    drwx------ 6 ihac ihac 4096 Mar 12 11:51 ihac
    |- -> drwxr-x--- 8 ihac apache 4096 Mar 12 11:49 public_html

    dr-xr-x--- 2 ihac ihac 4096 Mar 12 11:58 .php-cgi
    |--> -r-xr-x--- 1 ihac ihac 276 Mar 12 11:56 .phpcgi
Working...
X