LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Problem with mod_headers

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2009, 03:14 PM
remlabm remlabm is offline
New Member
 
Join Date: Jun 2009
Posts: 3
Unhappy Problem with mod_headers

I am just testing out litspeed to see if it would be benificial for me to migrate to. i am having an issue with mod headers though.

Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"

Does not seem to work in my .htaccess file. and yes i do have .htaccess enabled.

any ideas?
Reply With Quote
  #2  
Old 06-04-2009, 08:42 PM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
tested, it's working under LSWS

according to apache's document:
http://httpd.apache.org/docs/2.2/mod/mod_headers.html

Override: FileInfo

so check if your
AllowOverride All
or
AllowOverride FileInfo
is enabled
Reply With Quote
  #3  
Old 06-09-2009, 10:04 AM
remlabm remlabm is offline
New Member
 
Join Date: Jun 2009
Posts: 3
thanks for that idea.

checked and it is on. looks like the headers are being set to. still receiving an error on my device though.

comparing the header data the only difference between apache2 and litespeed is:
Content-Range: bytes 0-10120/10121

apache2 has content-range set, but not litespeed.

any ideas on that?
Reply With Quote
  #4  
Old 06-09-2009, 12:35 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Is this a range request? Apache return 206 status code?
Looks like it gets the whole file, LiteSpeed will not return "Content-Range" if whole file was returned.
Reply With Quote
  #5  
Old 06-09-2009, 12:36 PM
remlabm remlabm is offline
New Member
 
Join Date: Jun 2009
Posts: 3
yes it is returning 206 in apache and 200 in litespeed
Reply With Quote
  #6  
Old 06-09-2009, 12:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Do you have the request header? You can PM me if you do not want to post it here.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:28 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.