httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] RE: Google mini and RPS
Date Sat, 09 Dec 2006 00:03:12 GMT

In a previous post, I asked for assistance in getting a Google Mini to work
behind an Apache server set up to reverse proxy.  At first I thought the
answer would be found in using rewrite directives. However, after working
on it, I believe I found a simple solution.  It may be a little off topic,
but might help anyone else trying to accomplish the same task.

1) Select a subdirectory to reserve for searching on your website (e.g.
2) Set up your reverse proxy server with the following directives (where is the IP of your Google Mini):

      proxypass /search
      proxypassreverse /search

3) Log in to the Google Mini
4) Go to "Configure Serving" tab
5) Select "Output Format" from the top menu
6) Set your options using the page layout helper first (this simplifies the
next step)
7) Customize the XSLT using the Style Sheet Editor (once you do this, you
won't be able to use the layout helper):

Update any link directives to include the /search/ before them.  Here's an
example line:

Before:  <xsl:variable name="help_url">/basics.html</xsl:variable>

After: <xsl:variable name="help_url">/search/basics.html</xsl:variable>

Also update all form method="get" action="

Before:<form method="get" action="/search"

After:  <form method="get" action="/search/search"

Steven Niedermeyer
Bellingham, WA

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message