LayoutProxy and mod_rewrite [P]
Jim Kane <[email protected]>
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
OK, so after turning off -DDEBUG I have been making good progress in getting mod_layout ready to use on our sites. Today, I ran into two obstacles. One is surmountable, but I haven't figured out the other one yet: 1) mod_layout does not like to cooperate with mod_gzip. We have used mod_gzip for quite some time on our static and dynamic content to save on bandwidth. I turned it off for testing and found that the problem we were experiencing (no page data received by the browser) went away. 2) mod_layout does not merge the header into pages handled by the reverse proxy module. We have a multi-tier setup here, so requests for dynamic content are passed off to hidden application servers via rewrite rules like this: RewriteRule ^(/foo/bar/.*php.*) http://coolappserver.us.com/$1 [P] Which is supposed to be the equivalent of ProxyPass. The only problem is, the header doesn't show up. I tried adding the 'LayoutProxy On' directive, but that didn't seem to make a difference. Has anyone else gotten this to work? If I can't get the front-end web servers to add the header, I will have to install mod_layout on all of our app servers, which will increase my consumption of aspirin. I'd like to avoid that. -- Jim Kane <[email protected]> http://www.arkansas.gov/ Systems Manager, Information Network of Arkansas 501-324-8900