https://issues.apache.org/bugzilla/show_bug.cgi?id=40102


Arnaud LB <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #10 from Arnaud LB <[EMAIL PROTECTED]>  2008-11-25 17:14:20 PST ---
I can reproduce this bug with a simple shell script:

----------
#!/bin/sh
cat <<HEADERS
Status: 200 Ok
Content-Type: text/plain

HEADERS

export
----------

I added the following the <VirtualHost> to test that:

SetHandler cgi-script
<Directory /var/www>
 Options +ExecCGI
</Directory>

And the rewrite rules:

RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ /test.sh/$1


When the script is executed "export" shows that SCRIPT_NAME is empty. This
appends only when the URL is rewritten to a one which has a path info
component:

Triggers the bug:

RewriteRule ^(.*)$ /test.sh/$1

Does not bug:

RewriteRule ^(.*)$ /test.sh


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

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

Reply via email to