PDA

View Full Version : Custom Header


jailbird
12-19-2004, 12:37 AM
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

mistwang
12-19-2004, 09:17 AM
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

jailbird
12-21-2004, 08:00 PM
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

mistwang
12-21-2004, 09:10 PM
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.

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

jailbird
01-12-2005, 03:14 PM
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.

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

mistwang
01-12-2005, 07:46 PM
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. :-)


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! :-)

Lite
10-30-2012, 11:15 AM
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

webizen
10-30-2012, 06:15 PM
You can hide that header but not change to your own choice.