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

Conditional SSI Problems 

           Summary: Conditional SSI Problems
           Product: Apache httpd-2.0
           Version: 2.0.50
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_include
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Upgrading to 2.50 meant some conditional SSI I had stopped working.  Server
built from source and tested on a solaris box also.  

Code from the page:

<!--#if expr="($HTTP_COOKIE = /textsize\=6/) -->
<link rel="stylesheet" href="styles/text6.css" type="text/css" media="screen" />
<!--#elif expr="($HTTP_COOKIE = /textsize\=7/)" -->
<link rel="stylesheet" href="styles/text7.css" type="text/css" media="screen" />
<!--#elif expr="($HTTP_COOKIE = /textsize\=8/)" -->
<link rel="stylesheet" href="styles/text8.css" type="text/css" media="screen" />
<!--#elif expr="($HTTP_COOKIE = /textsize\=9/)" -->
<link rel="stylesheet" href="styles/text9.css" type="text/css" media="screen" />
<!--#elif expr="($HTTP_COOKIE = /textsize\=10/)" -->
<link rel="stylesheet" href="styles/text10.css" type="text/css" media="screen" 
/>
<!--#elif expr="($HTTP_COOKIE = /textsize\=11/)" -->
<link rel="stylesheet" href="styles/text11.css" type="text/css" media="screen" 
/>
<!--#elif expr="($HTTP_COOKIE != /textsize/)" -->
<link rel="stylesheet" href="styles/text8.css" type="text/css" media="screen" />
<!--#endif -->


and the error_log:

[Thu Jul 29 00:32:47 2004] [error] [client 192.168.1.4] unknown parameter
"stylesheet"" to tag if in /path/to/file/default.shtml, referer:
http://www.website.co.uk/

...straight includes work. It could be my condition, but I've double checked amd
it seems ok and it's been working for 2 years wtih earlier versions.

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

Reply via email to