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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > If-None-Match in php

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2005, 02:34 AM
IO IO is offline
Member
 
Join Date: Sep 2005
Posts: 26
Default If-None-Match in php

Hi,

There is a mistake in variables declaration for php scripts (and perhaps others) in 2.x litespeed :

If you do :
Code:
wget --header="If-None-Match: test" http://your-server/phpinfo.php
grep _SERVER phpinfo.php
You obtain _SERVER["HTTP_IF_NO_MATCH"] -> test

The correct variable should be : _SERVER["HTTP_IF_NONE_MATCH"] -> test

It's important for page validation in case of no change (header 304 not modified).
Reply With Quote
  #2  
Old 09-24-2005, 07:44 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Thank you for the bug report, will be fixed soon.
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
replacing system php felosi PHP 3 07-16-2007 11:23 PM
wordpress permalinks choopafrank Install/Configuration 4 02-15-2007 08:38 AM
setup php in rails template cswilliams Install/Configuration 2 01-25-2007 08:21 AM
Random 404s matt Bug Reports 28 12-29-2005 01:19 AM
Best configuration for PHP LiteSpeed SAPI jeff Install/Configuration 6 10-19-2005 09:54 AM


All times are GMT -7. The time now is 06:39 PM.



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