From:             maxes at peterlink dot ru
Operating system: FreeBSD-4.7
PHP version:      4.3.1
PHP Bug Type:     CGI related
Bug description:  for fastcgi  not check redirect_url

part of apache 1.3.27  httpd.conf:
<Location /f-php4/php>
              SetHandler fastcgi-script
             Options +ExecCGI
</Location>
<virtualhost *>
DocumentRoot /ftp/tst2
...
Alias /f-php4/ /usr/local/php4/bin/
AddType application/x-httpd-fastphp .fphp
Action application/x-httpd-fastphp /f-php4/php
</virtualhost>

Binary php4  put in /usr/local/php4/bin/php

document root has next file:
 /ftp/tst2/.htaccess

Now call:
http://virtualhost/f-php4/php/.htaccess 

php4 configured with:
--enable-fastcgi 
--enable-force-cgi-redirect

solutions:
For fastcgi put all enviroment check()  after FCGX_Accept_r()

b.r.


-- 
Edit bug report at http://bugs.php.net/?id=22846&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22846&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22846&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22846&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22846&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22846&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22846&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22846&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22846&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22846&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22846&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22846&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22846&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22846&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22846&r=gnused

Reply via email to