DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43738>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43738





------- Additional Comments From [EMAIL PROTECTED]  2007-11-01 10:48 -------
> To confirm the diagnosis can you reproduce without whatever triggered the
> internal redirect?

I think I figured it out.  This problem is not seen by mod_php4 applications,
nor by regular CGI applications.  The internal redirect is caused by mod_action,
which is used to implement PHP5 under FastCGI.  The configuration looks like 
this:

FastCgiServer /usr/bin/php5-cgi -processes 5
ScriptAlias /.php5-cgi /usr/bin/php5-cgi
<Directory /usr/bin>
  Order deny,allow
  Deny from all
  <Files php5-cgi>
    Options ExecCGI
    SetHandler fastcgi-script
    Order allow,deny
    Allow from all
  </Files>
</Directory>
Action php5-script /.php5-cgi
Action application/x-httpd-fastphp5 /.php5-cgi

Then in .htaccess, users who want php5 instead of php4 specify:

AddHandler php5-script .php


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to