mod_gwa is an Apache plugin that forbids Google Web Accelerator from accessing your pages, instead showing an error message that asks the user to disable acceleration for the domain.
Google sends a header x-moz: preload We simply disallow any request that has this header.
Does mod_gwa block a GWA user completely?
I don't hope so. In my test it appeared not to. x-moz: preload is only sent when PREloading a page, not when loading it the normal way.
Does mod_gwa require a user to completely disable GWA?
No. The user can choose to disable acceleration on a per-domain basis.
Can I use this plugin for years?
Yes you can. But I wouldn't. Better make your website RFC compliant. Google has a point, sites that get messed up by GWA do actually violate the RFC.
Why an Apache plugin?
Do you want to alter hundreds of php files? I don't. This plugin makes the change server-wide.
You might find success by trying to build it like this:
gcc -c -I -fpic -DSHARED_MODULE mod_gwa.c
gcc -shared -o mod_gwa.so mod_gwa.o
After you do that, you'll want the resulting .so file in your Apache
installation's libexec directory.
Enable the module by putting this line right around where the
LoadModule line for mod_auth is:
LoadModule gwa_module libexec/mod_gwa.so
and put this line right around where the AddModule line for