Just installed latest Mysource Matrix, worked fine, activated the Aliases and wanted to start using it.
But I only received errors, mostly: "No input file specified."
PHP4 is used as a CGI on this server, because mainly I'm using mod_php5, needed and managed to get PHP4 running as a CGI for this virtual host.
RemoveHandler .php
ScriptAlias /cgi-dir/ /var/www/matrix.local/cgi-php/
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/cgi-dir/php.cgi"
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
I tracked the errors to the calling-method of matrix, I think it uses (through the aliases) a scheme like this, am I right?
Yea, that's what I meant with "through the aliases", the alias sets the root-path to /core/web/index.php and everything else like _admin is added, so you get a real path of "/core/web/index.php/_admin". And this doesn't seem to work with the CGI.
Apache-log doesn't say anything, because he doesn't even recognize this as a call to php… he tries to deliver the above mentioned URL which (of course) isn't found.
Maybe something is wrong with my Configuration, has someone got this working with a CGI-PHP?
Looking at my configurition and matrix' aliases again I think that my problems might be caused by all the aliases? CGI-PHP is called through a script-aliases, and / is another aliases, maybe this doesn't work out together?
Comparing the contents of $_SERVER with CGI-PHP4 and MOD_PHP5 (it throws a lot of errors but it's reaching the lines I need to get output) I found these differences: