Unix Technical Forum

Apache 1.3.27 / HeaderName problem

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 07:07 AM
Rudolf Potucek
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 07:07 AM
Rudolf Potucek
 
Posts: n/a
Default Re: Apache 1.3.27 / HeaderName problem

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 07:07 AM
David
 
Posts: n/a
Default Re: Apache 1.3.27 / HeaderName problem

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:55 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com