TheJoey Posted May 28, 2010 Share Posted May 28, 2010 <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 https://forums.phpfreaks.com/topic/203162-custom-duration-header-problems/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.