Hi,

I'm new to this list, although I've been using Apache2 for several years.

I am using Apache2 as a proxy server for a number of services running on the
same server, using localhost with specific ports for the services to provide
their web pages.  One of these is zope.  I am testing the setup and want to
get it right before building the "serious" sites.

I am (and have been) using ProxyPass (along with the VirtualHostMonster in
zope) as it is the simplest of the 3 alternatives (Rewrite rules and PCGI
are the others).  I may change this at some time in the future, but it has
worked for now.

I have the following as the Apache2 site definition (under Linux Debian
3.1):

--------------------------------
#
## Definition file for testing instance of zope (port 3456)
#

#<Location /zope/>
<Location /zope>
    Order Allow,Deny
    Deny from 192.168.0.1 gateway gateway.NETWORK
    Allow from 192.168.0 127.0.0 NETWORK localhost

    SSLRequireSSL

    ProxyPass
http://localhost:3456/VirtualHostBase/https/SERVER.NETWORK:443/VirtualHostRo
ot/_vh_zope/

</Location>

## End of zope testing definition
--------------------------------

The problem I have is that with the first Location directive (/zope/) some
pages served by the instance don't work as zope doesn't add the trailing "/"
to the directory name it serves (i.e. it says "/zope" not "/zope/").

The second works (Location /zope) but seems to me to have a flaw.  If I have
sites fred-1 ... fred-9 they should work OK.  fred-10 wouldn't work as it
would be caught by the fred-1 location and redirected there, where it would
fail.

Is there a workaround for this?  I prefer the first Location statement (to
/zope/) but I can't find out how to get the "/zope" locations to work.  I've
tried several sets of rules for rewriting "/zope" to "/zope/", and they were
all either rejected as syntax errors, or just didn't work.  Help.

Thanks in advance,
David



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to