ispCP - Board - Support
Debian squeeze - fcgid error - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: Debian squeeze - fcgid error (/thread-9675.html)

Pages: 1 2 3


RE: Debian squeeze - fcgid error - RatS - 02-28-2010 11:40 AM

(02-28-2010 03:51 AM)gOOvER Wrote:  http://blog.benny-baumann.de/?p=519

The remaining question is: does

Code:
#Include {MODS_DIR}/fcgid_ispcp.conf

in the templates still execute the values set in fcgid variables or not?
If not, we need to include it another way. I will work on a solution.


RE: Debian squeeze - fcgid error - kilburn - 02-28-2010 07:11 PM

Yes, the settings are included by the debian's base apache configuration (which loads every /etc/apache2/mods-enabled/*.conf file).


RE: Debian squeeze - fcgid error - GTR - 03-03-2010 05:44 AM

(02-28-2010 03:51 AM)gOOvER Wrote:  Here is the Solution, but this site is in German.

http://blog.benny-baumann.de/?p=519

Works for me

if i read it right it just shows how to disable include fcgid_ispcp.conf so the config will be not used?


RE: Debian squeeze - fcgid error - kilburn - 03-03-2010 06:08 AM

You're reading it right, there will be no per-virtualhost configuration used (global configuration still aplies).


RE: Debian squeeze - fcgid error - BeNe - 03-03-2010 05:50 PM

Code:
Syntax error on line 29 of /etc/apache2/mods-available/fcgid_ispcp.conf:
SocketPath cannot occur within <VirtualHost> section
Same problem in FreeBSD with mod_fcgid. mod_fastcgi works.

Greez BeNe


RE: Debian squeeze - fcgid error - BeNe - 03-17-2010 12:17 AM

Looks like we need to change it this way.
Or how do we get fcgid running under Debian Squeeze and FreeBSD ?

Greez BeNe


RE: Debian squeeze - fcgid error - joximu - 03-17-2010 10:29 AM

I think the templates have an error:

dmn_php2_entry.tpl
...
<IfModule mod_fcgid.c>
Include {MODS_DIR}/fcgid_ispcp.conf
<Directory {WWW_DIR}/{DMN_NAME}/htdocs>
...

I don't know since when (the svn repository is somewhat broken) but I think the include line should be deleted here...

/J


RE: Debian squeeze - fcgid error - kilburn - 03-17-2010 05:19 PM

Please open a ticket Wink


RE: Debian squeeze - fcgid error - BeNe - 03-20-2010 08:54 AM

Done!
--> http://www.isp-control.net/ispcp/ticket/2287

Greez BeNe


RE: Debian squeeze - fcgid error - Nuxwin - 03-20-2010 02:52 PM

Hello everyone ;

First, it's important to note that the mod_fcgid project is now a sub project of the apache foundation named ASF mod_fcgid.

The first ASF mod_fcgid version was been 2.3.1 and some changes were made in the version 2.3.2 such as:

*) All directives have been renamed in order to use a common prefix "Fcgid".
Underscores in directive names have been eliminated in favor of
CamelCase. The old directive names will still work but are deprecated.
To fix your configuration you can use the sed script build/fixconf.sed.
The following tables contains old and new directive names.

*) Allow/respect virtual host settings for the following directives:
FcgidBusyTimeout, FcgidMaxProcessesPerClass, FcgidMinProcessesPerClass,
FcgidIdleTimeout, and FcgidProcessLifetime.

The last available version of ASF mod_fcgid is 2.3.5.

Debian squeeze provides the last stable version 2.3.5. So, according all changes made by this new version, we should provide a new configuration file for each distribution that use the new implementation.

And yes, Joxi, you right. The directive must be deleted.

Sources:

http://www.mail-archive.com/mod-fcgid-users@lists.sourceforge.net/msg00328.html
http://httpd.apache.org/mod_fcgid/
http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk/CHANGES-FCGID
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
http://packages.debian.org/fr/squeeze/libapache2-mod-fcgid