From: Patricia B. <web...@pr...> - 2006-04-04 21:31:30
|
Hello: I have a wrapper script running in the same directory as phpESP. Basically, the wrapper script allows images to be uploaded under the correct username on the server rather than user "nobody". In order to use this wrapper I put the following lines in the .htaccess file: Action application/x-pair-sphp4 /cgi-sys/php-cgiwrap/username/php4.cgi AddType application/x-pair-sphp4 .php These lines override the following directives: AddType application/x-httpd-php .php Now, when I go to http://www.mydomain.org/survey, the url changes into: http://www.mydomain.org/cgi-sys/php-cgiwrap/username/admin/manage.php It looks like the index.php file in the survey directory is checking the PHP script name that it is being called through .htaccess (which is returning the php-cgiwrap script) and using this name as part of the URL that it is then directing to, which is somewhat unusual. Does anyone have any ideas on how to fix this? Thanks, Tricia Barden |