PDA

View Full Version : 3.3.18 processing .htaccess comments ?


aww
09-19-2008, 02:33 AM
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
09-19-2008, 07:42 AM
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
09-19-2008, 07:54 AM
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)

mistwang
09-19-2008, 02:04 PM
Maybe it has been set somewhere else as well.
You can try changing the "Header" value see if it changes.