3.3.18 processing .htaccess comments ?

aww

Well-Known Member
#1
I don't know exactly which version started this problem but it did not happen before 3.2

Lines in .htaccess beginning with # are suddenly being processed instead of being ignored. This is incorrect (and strange).
 

mistwang

LiteSpeed Staff
#2
It is not likely. we need you to confirm this before we can start investigate, it might be something else.

Try something like

#deny from all

which can be easily told working or not and not affected by something else.
 

aww

Well-Known Member
#3
I can't take the server down right now but the way I noticed it was processing comments was because a header was being added that I commented out:

# BrowserMatch MSIE ie8compatibility
# Header set X-UA-Compatible IE=7 env=ie8compatibility
Since you said Litespeed doesn't do BrowserMatch, I had commented it out.
Suddenly it was working when I went to 3.3.18 (with the # still in place)
 
Top