This is a discussion on Apache 1.3.27 / HeaderName problem within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi All! I just moved my webpage from an older version of Apache to 1.3.27. In the process I ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| Oops nevermind ... when reading the documantation the first time I just missed the last line: If the file specified by HeaderName contains the beginnings of an HTML document (<HTML>, <HEAD>, etc) then you will probably want to set IndexOptions +SuppressHTMLPreamble, so that these tags are not repeated. Doh! Rudolf |
| ||||
| Rudolf Potucek wrote: > Hi All! > > I just moved my webpage from an older version of Apache to 1.3.27. 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 |
| Thread Tools | |
| Display Modes | |
|
|