Search results

  1. H

    Deny accss to a log file using .htaccess

    Dear mistwang, I cant do that as I am just a hosted client. I would have to ask my host. Not sure if related but sounds as it is to me: I found this post from august about error_log: http://www.litespeedtech.com/support/forum/showthread.php?t=5753
  2. H

    Deny accss to a log file using .htaccess

    Hi, I am trying to deny access to a logfile for paypal, and it seems it does not work to do so. I have tried this: <Files ~ "\.(log)$"> order allow,deny deny from all </Files> I have also tried other similar, blocking only the particular file and nothing works. Thanks
  3. H

    add charset to http header using htaccess

    Does the 4.1.12 release support AddType 'text/css; charset=UTF-8' .css and AddDefaultCharset UTF-8 as said before in this thread? Or am I or the host doing something wrong? Would appreciate an answer, thanks.
  4. H

    add charset to http header using htaccess

    Hi again, My host have now upgraded to 4.1.12, I tried both of previous and none worked for the ,css file. Is it supported by 4.1.12?
  5. H

    add charset to http header using htaccess

    I also tried this: AddType 'text/css; charset=UTF-8' .css and it does not work Many says this works in apache: AddCharset utf-8 .css .js But I read AddCharset is not supported in LiteSpeed, or at least was not in the list I saw as supported
  6. H

    add charset to http header using htaccess

    Thanks, I tried all in this apache link: http://www.askapache.com/htaccess/setting-charset-in-htaccess.html and non did work. So how can I set charset for a .css files? Would any of these work? <filesMatch "\.(htm|html|css|js)$"> ForceType 'text/html; charset=UTF-8' </filesMatch>...
  7. H

    add charset to http header using htaccess

    Hi I been trying to add charset= utf-8 using htaccess. It works on my php files and if I add AddDefaultCharset UTF-8 that I read is supported by Litespeed I get for the php files this http header: Content-Type => text/html; charset=UTF-8 However it does not work on .css or .js files, I get this...
Top