From: Adam Dickmeiss Date: Wed, 6 Jun 2007 11:33:18 +0000 (+0000) Subject: Update documentation about ProxyPass. X-Git-Tag: PAZPAR2.1.0.0~68 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=43e33a3b1a990b28eebbd74f0346455273df9fca;p=pazpar2-moved-to-github.git Update documentation about ProxyPass. --- diff --git a/doc/book.xml b/doc/book.xml index c7f0a39..c2edde1 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -9,7 +9,7 @@ %idcommon; ]> - + Pazpar2 - User's Guide and Reference @@ -248,23 +248,27 @@ Traditionnally Pazpar2 interprets URL paths with suffix /search.pz2. - The ProxyPass must be configured with this - path and the address of the Pazpar2 server (listening port). + The + ProxyPass directive of Apache must be used to map a URL path + the the Pazpar2 server (listening port). - Since the ProxyPass directive takes a prefix rather than - a suffix as URL path it is important that the Java Script code - uses /search.pz2 rather than just - search.pz2. + The ProxyPass directive takes a prefix rather than + a suffix as URL path. It is important that the Java Script code + uses the prefix given for it. Apache 2 proxy configuration - If Pazpar2 is running on port 9004 we can use the following + If Pazpar2 is running on port 9004 and the portal is using + search.pz2 inside portal in directory + /myportal/ we could use the following Apache 2 configuration: - ProxyPass /search.pz2 http://localhost:9004/search.pz2 + ProxyPass /myportal/search.pz2 http://localhost:9004/search.pz2 ProxyVia Off ]]>