Re: only works on one site
"Paul E. Ross" <[email protected]> Fri, 13 Feb 2004 09:06:54 -0600
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
I have my headers and footers (both php) back for all files under Apache
2.0. Sad to say, I had to abandon mod-layout for mod_rewrite. It's a
lot more work than using mod_layout and requires more tweaking with the
RewriteCond directives, but it works.
I combined the header and footer into a single wrapper surrounding an
include statement and added "RewriteCond %{REQUEST_FILENAME}
!(.*/ci_wrapper.php.*)" and "RewriteRule (.*) /ci_wrapper.php?$1" to my
httpd.conf file. I also had to change $SCRIPT_NAME to $REDIRECT_URL in
all my forms and peel GET method parameters off the end of $REQUEST_URL
rather than argv.
--
Paul Ross
Senior Software Engineer
Raytheon Technical Services Company LLC
281.280.2997
281.280.4138 fax
713.736.9581 pager
[email protected]
http://www.opengov.us