I am redesigning the layout of my site_html and I am using XSSI's to determine which browser the user has and includes a page top accordingly. This works on all of my other pages but for some reason, when I use it in Links, it give's me 3 error while processing directive messages. Here's what I'm using:
<!--#if expr="$HTTP_USER_AGENT != /MSIE/ && $HTTP_USER_AGENT = Mozilla\/4/" -->
<!--#include virtual="/dev/ns4t.shtml" -->
<!--#elif expr="$HTTP_USER_AGENT = /MSIE/ && $HTTP_USER_AGENT = /Mozilla\/4/" -->
<!--#include virtual="/dev/ie40t.shtml" -->
<!--#elif expr="$HTTP_USER_AGENT = /Mozilla/3/" -->
<!--#include virtual="/dev/b3t.shtml" -->
<!--#endif -->
(The spacing is a bit messed up 'cuz of the wrapping)
If anyone has any idea why it would work on some pages and not others, please let me know 'cuz this is driving me crazy. I'm using just a plain old include (without an if statement) in another area of the site_html.pl and it works fine. I tried uploading the site_html in ascii and binary and neither of 'em helped. All of the links files have the .shtml extension.
So if you have any ideas, please let me know.
Thanks a bunch.
------------------
Jason
Extreme mtb
http://extreme.nas.net
<!--#if expr="$HTTP_USER_AGENT != /MSIE/ && $HTTP_USER_AGENT = Mozilla\/4/" -->
<!--#include virtual="/dev/ns4t.shtml" -->
<!--#elif expr="$HTTP_USER_AGENT = /MSIE/ && $HTTP_USER_AGENT = /Mozilla\/4/" -->
<!--#include virtual="/dev/ie40t.shtml" -->
<!--#elif expr="$HTTP_USER_AGENT = /Mozilla/3/" -->
<!--#include virtual="/dev/b3t.shtml" -->
<!--#endif -->
(The spacing is a bit messed up 'cuz of the wrapping)
If anyone has any idea why it would work on some pages and not others, please let me know 'cuz this is driving me crazy. I'm using just a plain old include (without an if statement) in another area of the site_html.pl and it works fine. I tried uploading the site_html in ascii and binary and neither of 'em helped. All of the links files have the .shtml extension.
So if you have any ideas, please let me know.
Thanks a bunch.
------------------
Jason
Extreme mtb
http://extreme.nas.net

