Professional Web Applications Themes

Apache 1.3.27 / HeaderName problem - Linux Setup, Configuration & Administration

Hi All! I just moved my webpage from an older version of Apache to 1.3.27. In the process I realized that the way 1.3.27 handles header files seems to have changed: the old version would look for a file named HEADER.html or HEADER.txt and prepend that to the directory listing. Version 1.3.27 seems to instead generate an HTML header and insert the HEADER file *after* its own header, so that any settings in the HEAD or BODY tags of the HEADER.html file are lost ... Is there any way to change this back to the old behavior so that the ...

  1. #1

    Default Apache 1.3.27 / HeaderName problem

    Hi All!

    I just moved my webpage from an older version of Apache to 1.3.27. In the
    process I realized that the way 1.3.27 handles header files seems to have
    changed: the old version would look for a file named HEADER.html or
    HEADER.txt and prepend that to the directory listing. Version 1.3.27
    seems to instead generate an HTML header and insert the HEADER file
    *after* its own header, so that any settings in the HEAD or BODY tags of
    the HEADER.html file are lost ...

    Is there any way to change this back to the old behavior so that the
    HEADER.html file is the first thing sent to the browser?

    Rudolf

    P.S.: I don't think it's a content negotiation issue, as MultiViews is on
    and on some pages where I have multilanguage support, the language is
    correctly selected ...

    --
    A city is a large community where people are lonesome together
    -- Herbert Prochnow
    Rudolf Guest

  2. #2

    Default Re: Apache 1.3.27 / HeaderName problem

    Oops nevermind ... when reading the doantation the first time I just
    missed the last line:

    If the file specified by HeaderName contains the beginnings of an HTML
    doent (<HTML>, <HEAD>, etc) then you will probably want to set
    IndexOptions +SuppressHTMLPreamble, so that these tags are not repeated.

    Doh!

    Rudolf

    Rudolf Guest

  3. #3

    Default Re: Apache 1.3.27 / HeaderName problem

    Rudolf Potucek wrote: 

    I saw your other post also.
    And why didn't you go for apache-1.3.28 instead?

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.2.2
    Uptime: 1 day, 2:08, 1 user, load average: 1.50, 1.44, 1.39

    David Guest

Similar Threads

  1. Problem after an upgrade to php 5.0.1 and Apache 1.3.31
    By NothingHere in forum PHP Development
    Replies: 7
    Last Post: September 14th, 01:19 PM
  2. PHP and Apache confi problem
    By Krista in forum PHP Development
    Replies: 4
    Last Post: December 8th, 10:33 PM
  3. Problem with Apache 1.3.28/PHP 4.3.3 on XP
    By Nick Rees in forum PHP Development
    Replies: 2
    Last Post: September 15th, 03:05 AM
  4. Replies: 2
    Last Post: July 27th, 05:29 PM
  5. Replies: 2
    Last Post: July 17th, 07:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139