Re: LayoutIgnoreHTTPHeaderURI
Mark Staben <[email protected]>
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure why this problem isn't gettting any attention - it's frustrating. Another bit of information - the problem only seems to occur when the file is being called as the index file for a directory. For example: When calling http://mysite.com/ the cookie is not set (unless mod_layout is disabled) When calling http://mysite.com/index.php - the cookie is set and updated as expected. Mark On Wednesday, October 1, 2003, at 02:28 PM, Paul E. Ross wrote: > Mark Staben wrote: >> Hi Brian, >> I've had a problem for some time with many scripts we have that need >> to do things in the headers (cookies, etc...) not working with >> mod_layout. >> The directive LayoutIgnoreHTTPHeaderURI is not documented, but seems >> to allow the scripts to work as expected, I'm considering turning it >> on globally because it is a pain to do it on a case by case basis and >> it is cluttering my config file. >> Very simply: what (if any) is the danger in this? Why does mod_layout >> need to overide the original headers anyway? If mod_layout _needs_ to >> send its headers, why couldn't the behavior be to _add_ to the >> original headers and _not_ replace them? >> My questions may ignore or miss things that seem obvious. For that I >> apologize -- but I'm mostly a designer/html jockey - and don't really >> have a deep technical understanding of _how_ mod_layout does what it >> does. >> Thanks, >> Mark >> _______________________________________________ >> Mod_layout mailing list >> [email protected] >> http://lists.tangent.org/mailman/listinfo/mod_layout > > I'm just starting the move from 1.3 to 2.0. Simply adding > LayoutIgnoreHTTPHeaderURI to my old <Directory> definitions didn't > seem to help. I am a HEAVY php user (single header for 5 virtual > sites and navigation bars determined by directory tree structure) and > would prefer not to have to re-invent the wheel. Here's my mod_layout > directive additions: > > <Directory "/var/www/html"> > LayoutHeader /header.php > LayoutFooter /footer.php > # LayoutMerge On > LayoutComment On > # LayoutHandler application/x-httpd-php > # LayoutIgnoreHTTPHeaderURI * > LayoutIgnoreURI /cgi-bin* > LayoutIgnoreURI /nagios* > LayoutIgnoreURI /nrg* > </Directory> > > > -- > Paul Ross > Senior Software Engineer > 281.280.2997 > 281.280.4138 fax > 713.736.9581 pager > [email protected] > http://hint.hou.us.ray.com/Cmdmedia/pa/pa-03/pa-03.pdf > > _______________________________________________ > Mod_layout mailing list > [email protected] > http://lists.tangent.org/mailman/listinfo/mod_layout