To take the good news first, I changed it to the echo element, and the encoding now works. Thanks. However, the expressions still refuses to work. I’m thinking maybe I already have the legacy filter on, because I read here that cPanel puts on that setting if you’re using EasyApache. I don’t know if I’m using EasyApache, but here’s the link anyways. Is there a way to check if the setting is on or off? If the legacy filter is on, are the new expressions still valid, too? I’ll just include the files anyways, if it’s my fault. It won’t work. I’m thinking, the old code worked if only one _expression_ and not “||” (the or-sign), the new code doesn’t work on anything. the 404.shtml a small file defining some variables and including the error template 1HTTP.shtml. / Simen On Sun, Sep 14, 2014 at 4:03 AM, Simen Mangseth <simi@xxxxxxx> wrote:
I took this exact code and changed the URLs to match several that point to my server and it worked fine. What URLs are you expecting to hit? I can add them to my hosts file and see if they match.
This is what I used: <!--#if expr='v("side") = "dd"' -->DeDanseglade <!--#elif expr='v("side") = "ddcountry"' -->DDCountry <!--#elif expr='v("side") = "gullskoen"' -->Gullskoen <!--#elif expr='v("side") = "dans"' -->Dans <!--#else -->DansAS <!--#endif -->
You need to set it on the <!--#echo, not on the <~--#set. - Y
|
Attachment:
1HTTP.shtml
Description: =?utf-8?Q?1HTTP.shtml?=
Attachment:
404.shtml
Description: =?utf-8?Q?404.shtml?=
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx