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=31484>.
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=31484

Custom environment variables not passed to content negotiated resources

           Summary: Custom environment variables not passed to content
                    negotiated resources
           Product: Apache httpd-2.0
           Version: 2.0.51
          Platform: PC
               URL: http://test.io.link-
                    m.de/apache2/env+content_negotiation/
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_negotiation
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When I enable content negotiation using "Options MultiViews", and I try to
access a resource without its full name (i.e. without filename extensions), only
a certain set of environment variables is available to the resource.  Some
Apache-defined variables and any custom-defined (through SetEnv) variables are
NOT available to the resource.  This applies to SSI resources as well as to CGI
resources.

Try accessing
http://test.io.link-m.de/apache2/env+content_negotiation/test-ssi.shtml
and look the for custom-defined variable "__FOO__".  It should have the value
"barbarbar".

Now try accessing
http://test.io.link-m.de/apache2/env+content_negotiation/test-ssi
and you will see that the "__FOO__" variable and some others (predefined by
Apache) are missing.

The same goes for
http://test.io.link-m.de/apache2/env+content_negotiation/test-cgi.pl  and
http://test.io.link-m.de/apache2/env+content_negotiation/test-cgi

Look at the .txt resources to see the source code of test-ssi.shtml and
test-cgi.pl.  Look at the apache2.conf and vhost.conf resources to see the
Apache and vhost configuration.

I'm not sure whether this is a mod_negotiation or a mod_env bug.

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

Reply via email to