(01-21-2010 02:36 AM)kilburn Wrote: Under fcgid
You're out of luck, as the default configuration doesn't allow you to do this (at least I've been unable to). Now, I enabled this possibility by following these steps:
1. Replace the "<IfModule mod_fcgid.c>....</IfModule>" block from the files /etc/ispcp/apache2/parts/{als,dmn,sub}_php2_entry.tpl by the following one:
Code:
<IfModule mod_fcgid.c>
Alias /fcgi/ {STARTER_DIR}/{DMN_NAME}/
<Directory "{STARTER_DIR}/{DMN_NAME}/">
AllowOverride None
SetHandler fcgid-script
Options +ExecCGI
</Directory>
AddHandler php{PHP_VERSION}-script .php .php{PHP_VERSION}
Action php{PHP_VERSION}-script /fcgi/php{PHP_VERSION}-fcgi-starter
AddType application/x-httpd-php .php
</IfModule>
Ok, it appears I have been setup w/ fcgi. To confirm what you're saying, the block in the xyx_php2_entry.tpl files looks like this currently
Code:
<IfModule mod_fcgid.c>
Include {MODS_DIR}/fcgid_ispcp.conf
<Directory {WWW_DIR}/{DMN_NAME}/htdocs>
FCGIWrapper {STARTER_DIR}/{DMN_NAME}/php{PHP_VERSION}-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "{STARTER_DIR}/{DMN_NAME}">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
All of that should be replaced w/ what you indicated above?