Ticket #1472 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

Recent fastcgi/fcgid changes break fcgid for me (gentoo)

Reported by: pgentoo Assigned to:
Priority: major Milestone: ispCP ω 1.0.0 - RC7
Component: Backend (Engine) Version: ispCP ω 1.0.0 - RC6
Severity: Don't know Keywords:
Cc:

Description

The current config doesn't work for me. I get errors when i try to load up any php page under /var/www/ispcp/gui.

Moving the IfModule? inside the Directory like follows, fixes the issues for me.

<Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all

        <IfModule mod_fcgid.c>
                FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php              
                Options +ExecCGI
        </IfModule>
</Directory>

I also like this layout, because it consolidates down multiple Directory entries into one...

Also in fcgid_ispcp.conf, there is no need to define the socket path there (at least for gentoo). /etc/apache2/modules.d/20_mod_fcgid.conf (provided on a fcgid install on gentoo) already defines the socket path (SocketPath? /var/run/fcgidsock). If you set it to "SocketPath? /var/lib/apache2/fcgid/sock" in fcgid_ispcp.conf, then it breaks fcgid. I'd recommend removing this one line from the file.

Attachments

Change History

08/19/08 00:02:00 changed by scitech

  • status changed from new to closed.
  • resolution set to fixed.

Thank you.Fixed in r1332. Please reopen if not.

08/19/08 00:02:12 changed by scitech

  • milestone changed from Working to ispCP ω 1.0.0.

Add/Change #1472 (Recent fastcgi/fcgid changes break fcgid for me (gentoo))




Action