The Artima Developer Community
Sponsored Link

PHP Buzz Forum
Google Web Accelerator Fix in CVS

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Forum One

Posts: 118
Nickname: forumone
Registered: Sep, 2004

Forum One is consulting firm specializing in helping non-profits improve their online presence.
Google Web Accelerator Fix in CVS Posted: May 10, 2005 5:46 AM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Forum One.
Original Post: Google Web Accelerator Fix in CVS
Feed Title: Syntax Framework
Feed URL: http://blog.syntaxcms.org/rss.php?version=0.91
Feed Description: Finally, a place to answer Syntax questions
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Forum One
Latest Posts From Syntax Framework

Advertisement
There has been some bruhaha over Google Web Accelerator and web applications. Google Web Accelerator works by "prefetching" pages in the background so clicking on a link results in a faster page load. Unfortunately, it blindly follows any link on the page, regardless of whether you've put a JavaScript confirmation on it. The practical upshot of this is that links to delete items may be followed, leading to simply viewing a list of items causing them to disappear. Fortunately, Google Web Accelerator uses the Mozilla Foundation's X-moz: prefetch HTTP header. So it can be detected and stopped with the following two lines in an .htaccess file:
RewriteCond %{X-moz} ^prefetch
RewriteRule ^.* - [F]
We have implemented this fix for the administration application in SyntaxCMS, so you can grab the latest copy of /syntax-cms/src/public/admin/.htaccess from the SyntaxCMS CVS repository on Tigris or, if you've modified that file, simply put the above two lines below RewriteEngine On in /public/admin/.htaccess on your installation.

Read: Google Web Accelerator Fix in CVS

Topic: Trip to Hamburg Previous Topic   Next Topic Topic: Kronolith 2.0.3 released

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use