Okay, thanks. It isn’t that important for me to get the SSILegacyExprParser off
if it’s already on in my configuration. I don’t have access to WHM.
But if the SSILegacyExprParser is on for me, why won’t this work?:
!--#if expr=$SERVER_NAME = /dans.no/ || $SERVER_NAME = /dans.dansas/ --
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
EasyApache is the cPanel program that builds the Apache (and PHP) binaries
and config files, so if you use cPanel, you use EasyApache.
I looked on my cPanel server and found this directive:
IfModule mod_include.c
Directory /home/SITENAME/public_html
SSILegacyExprParser On
Except for the one $side = ddcountry which you missed converting...
On Mon, Sep 15, 2014 at 12:03 PM, Yehuda Katz yeh...@ymkatz.net wrote:
EasyApache is the cPanel program that builds the Apache (and PHP) binaries
and config files, so if you use cPanel, you use EasyApache.
I looked on my
I’ve copied that code into .htaccess (with the sitename change, of course), but
it doesn’t appear to have an effect.
Maybe you could use the live sites to find out if there’s anything wrong with
them?
http://dd.no/404.shtml
http://dans.no/404.shtml
http://ddcountry.no/404.shtml
This might be better on a cPanel forum, since it seems that Apache is
working as expected.
If you have access to WHM, you could
modify /var/cpanel/templates/apache2_4/vhost.default to remove the
SSILegacyExprParser On and rebuild your config
(/usr/local/cpanel/bin/build_apache_conf).
- Y
On Mon,
Thanks for your reply, Yehuda. However, I can’t get any of your suggestions to
work. You can get the whole file if you want, but for the time being, I’ll just
send the pieces of code that doesn’t work.
Here’s the new if-code:
!--#if expr=%{SERVER_NAME} =~ /dans.no/ || %{SERVER_NAME} =~
On Sun, Sep 14, 2014 at 4:03 AM, Simen Mangseth s...@live.no wrote:
Thanks for your reply, Yehuda. However, I can’t get any of your
suggestions to work. You can get the whole file if you want, but for the
time being, I’ll just send the pieces of code that doesn’t work.
Here’s the new
I have two questions regarding SSI and .shtml files.
1: I’m using Apache 2.4, and now I can’t write like this anymore:
!--#if expr=$SERVER_NAME = /dans.no/ || $SERVER_NAME = /dd.no/ --
I’ve read that there’s a new syntax, but on the website I don’t understand it,
even after reading It many
On Sat, Sep 13, 2014 at 9:53 AM, Simen Mangseth s...@live.no wrote:
I have two questions regarding SSI and .shtml files.
1: I’m using Apache 2.4, and now I can’t write like this anymore:
The simplest option might be to enable the Legacy Expression PArser:
SSILegacyExprParser on
10 matches
Mail list logo