Jump to content

custom Duration Header Problems!


TheJoey

Recommended Posts

<IfModule mod_headers.c>
  SetEnvif Client value Get-Duration
  Header add Duration "%D" env=Get-Duration
</IfModule>

 

Do you spot anything wrong with that code?

 

it works with some files but not others im getting this output

 

Escape character is '^]'.
Get /tests/10KB HTTP/1.1
Client: Get-Duration
HOST: localhost

HTTP/1.1 501 Method Not Implemented
Date: Fri, 28 May 2010 02:55:08 GMT
Server: Apache/2.0.58 (Unix) PHP/5.1.4
Allow: GET,HEAD,POST,OPTIONS,TRACE
Content-Length: 309
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>Get to /tests/10KB not supported.<br />
</p>
<hr>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.