From 43e33a3b1a990b28eebbd74f0346455273df9fca Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 6 Jun 2007 11:33:18 +0000 Subject: [PATCH] Update documentation about ProxyPass. --- doc/book.xml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) 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 ]]> -- 1.7.10.4