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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Custom Header

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2004, 12:37 AM
jailbird jailbird is offline
Member
 
Join Date: Oct 2004
Posts: 23
Default Custom Header

I'm curious if there's a way to insert headers on a site-wide basis, like Apache's "append" option? I need this to insert a P3P header to my pages. Some endusers have been complaining that their MSIE 6.x browsers quit taking my session cookies when I switched from Apache to lsws.

Also, I haven't gotten about the bug report I put in a month or so ago. Trying to get some room on my router box to install lsws. That's the only Linux/x86 box I have! Everything else is Alpha, MIPS, ultrasparc, etc..

Thanks again, you guys rock!
-Dustin
Reply With Quote
  #2  
Old 12-19-2004, 09:17 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Dustin,

Currently LSWS does not support response header manipulation itself, so you need to set all headers in your script. Unless response headers are different, I don't see the reason why IE like cookies from one web server but not that from another.

That bug should be fixed in the forthcoming 2.0RC4 release. Thanks for the reminder.

George
Reply With Quote
  #3  
Old 12-21-2004, 08:00 PM
jailbird jailbird is offline
Member
 
Join Date: Oct 2004
Posts: 23
Quote:
Originally Posted by mistwang
Dustin,

Currently LSWS does not support response header manipulation itself, so you need to set all headers in your script. Unless response headers are different, I don't see the reason why IE like cookies from one web server but not that from another.

That bug should be fixed in the forthcoming 2.0RC4 release. Thanks for the reminder.

George
I was afraid you'd say that. I guess I can add it a PHP prepend file. I was hoping for a better solution site-wide, however.

The main reason is some people use MSIE 6's piracy settings to only allow certain cookies depending on what the site says they will do with the cookie information. I've been using the Apache "append" function to insert the "P3P:" header on all requests to point to my P3Pso .xml file that MSIE uses.

The impact seems fairly small (I've only had one user complain so far), so it's not a huge showstopper. Might be a nice feature to have in the future though.

I definitely owe you guys a drink.... If I had the money I'd buy the Pro version just to help you guys out...

-Dustin
Reply With Quote
  #4  
Old 12-21-2004, 09:10 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
The main reason is some people use MSIE 6's piracy settings to only allow certain cookies depending on what the site says they will do with the cookie information. I've been using the Apache "append" function to insert the "P3P:" header on all requests to point to my P3Pso .xml file that MSIE uses.

The impact seems fairly small (I've only had one user complain so far), so it's not a huge showstopper. Might be a nice feature to have in the future though.
To add a header is easy, is that all you need? We can consider only that right now.
To set/unset/append will be a small performance hit though. so it may not be available soon.

Quote:
I definitely owe you guys a drink.... If I had the money I'd buy the Pro version just to help you guys out...
Thanks! Appreciated! :-D
Just introduce LiteSpeed to more people then. ;-)

George
Reply With Quote
  #5  
Old 01-12-2005, 03:14 PM
jailbird jailbird is offline
Member
 
Join Date: Oct 2004
Posts: 23
Quote:
Originally Posted by mistwang
Quote:
The main reason is some people use MSIE 6's piracy settings to only allow certain cookies depending on what the site says they will do with the cookie information. I've been using the Apache "append" function to insert the "P3P:" header on all requests to point to my P3Pso .xml file that MSIE uses.

The impact seems fairly small (I've only had one user complain so far), so it's not a huge showstopper. Might be a nice feature to have in the future though.
To add a header is easy, is that all you need? We can consider only that right now.
To set/unset/append will be a small performance hit though. so it may not be available soon.

Quote:
I definitely owe you guys a drink.... If I had the money I'd buy the Pro version just to help you guys out...
Thanks! Appreciated! :-D
Just introduce LiteSpeed to more people then. ;-)

George
Sorry about the extremely slow response. I've been busy moving and I'm just now getting around to unpacking.

Adding a header is all I need, correct. I don't care about anything fancier than that .

I did get one of my coworkers hooked on LiteSpeed. Maybe I can convince him to send some money your way .

-Dustin
Reply With Quote
  #6  
Old 01-12-2005, 07:46 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Sorry about the extremely slow response. I've been busy moving and I'm just now getting around to unpacking.

Adding a header is all I need, correct. I don't care about anything fancier than that .
We will consider adding it in future release. :-)


Quote:
I did get one of my coworkers hooked on LiteSpeed. Maybe I can convince him to send some money your way .
Thank you very much! :-)
Reply With Quote
  #7  
Old 10-30-2012, 11:15 AM
Lite Lite is offline
Member
 
Join Date: Jul 2012
Posts: 14
Hello
Sorry for updating old topic
but i found some sites using litespeed with custom header
how can i change header in litespeed ?
for example in some of theme , changed
Server: LiteSpeed
to
Server: MYserver
Reply With Quote
  #8  
Old 10-30-2012, 06:15 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
You can hide that header but not change to your own choice.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom 404 that returns 404 instead of 200 jrmarino Install/Configuration 4 06-16-2007 05:29 PM
Premature end of response header, and 503 service errors (maybe related, maybe not) fantasydreaming Bug Reports 13 12-11-2006 04:21 PM
Sending a custom response header to Mongrel when in SSL mode? alaithea Ruby/Rails 1 06-19-2006 11:22 AM
Premature end of response header alex Bug Reports 10 06-11-2006 07:48 AM
cache-control header henpa Install/Configuration 3 03-25-2006 02:47 AM


All times are GMT -7. The time now is 07:19 AM.



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