Re: Strange behavior
Brian Aker <[email protected]>
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Organization | TangentOrg |
| Message-ID | <1066854374.13021.248.camel@avenger> |
On Wed, 2003-10-22 at 12:38, Schlundt, Gerard {D106~Indianapolis} wrote:
> The first odd thing that is happening is that if I point my browser at
> a URL that does not include the file name (index.htm) the layout is
> not displayed, which is correct…I have an exclusion to not use
> LayoutHeaders or LayoutFooters. However, If I point my browser at
> the same URL, but DO include the index.htm, then the headers are
> shown…Why?
Your regular expression matches index.htm. Apache looks at / and index
requests as two different requests. Look at using <File> or file match
and place the mod_layout directives directly in them.
-Brian
--
_______________________________________________________
Brian "Krow" Aker, [email protected]
Seattle, Washington
http://krow.net/
http://askbrian.org/
_______________________________________________________
You can't grep a dead tree.