Results 1 to 3 of 3

Thread: how to edit HTTP header

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    Question how to edit HTTP header

    Hello,

    I have performed several searches of the cPanel forums and have not been able to find a related thread.

    I am using a 3rd party software called Sitemap Automator by RAGE Software. Running from my home PC it checks my website and creates a sitemap.xml with various data.

    An important part of the data it tries to collect is the Last Modified Date of the web page, pulled from the HTTP Headers. After failing to get this important data several times, I located a header "viewer" on line, and it appears my headers do not include the Last Modified Date.

    I asked my web host for help and they referred me here. Please note that I thoroughly went through my cPanel and my WHM and can not locate anywhere to edit this information.

    I appreciate any help in advance!
    Victor

  2. #2
    Member
    Join Date
    Aug 2008
    Posts
    55

    Default Re: how to edit HTTP header

    Whoever your web host is either didn't listen to your issue or doesn't understand what cPanel is.

    Headers:
    HTTP/1.1: Header Field Definitions

    14.29 Last-Modified

    The Last-Modified entity-header field indicates the date and time at which the origin server believes the variant was last modified.

    Last-Modified = "Last-Modified" ":" HTTP-date

    An example of its use is

    Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT

    The exact meaning of this header field depends on the implementation of the origin server and the nature of the original resource. For files, it may be just the file system last-modified time. For entities with dynamically included parts, it may be the most recent of the set of last-modify times for its component parts. For database gateways, it may be the last-update time stamp of the record. For virtual objects, it may be the last time the internal state changed.

    An origin server MUST NOT send a Last-Modified date which is later than the server's time of message origination. In such cases, where the resource's last modification would indicate some time in the future, the server MUST replace that date with the message origination date.

    An origin server SHOULD obtain the Last-Modified value of the entity as close as possible to the time that it generates the Date value of its response. This allows a recipient to make an accurate assessment of the entity's modification time, especially if the entity changes near the time that the response is generated.

    HTTP/1.1 servers SHOULD send Last-Modified whenever feasible.

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    Smile Re: how to edit HTTP header

    Thanks for your detailed reply. I will be forwarding this to my webhost. Hopefully their tech will understand how to implement this.

    With much appreciation,
    Victor

Similar Threads

  1. Is it possible to edit header for WHM?
    By cwalke32477 in forum New User Questions
    Replies: 0
    Last Post: 03-11-2011, 05:12 PM
  2. Filed with Developers [case 46397] Search Function Needed(Edit MX Entry and Edit DNS Pages)
    By rlshosting in forum Feature Requests for cPanel & WHM
    Replies: 2
    Last Post: 01-24-2011, 06:03 AM
  3. masking cpsrvd http header?
    By SMG in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-01-2006, 11:55 PM
  4. User cant edit mysql and cant edit password pro directory access
    By Custom-Hosting in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 01-18-2006, 07:30 PM
  5. How do I edit the http.conf file?
    By everyaa in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-05-2005, 12:22 PM