RE: [users@httpd] Apache2 & ProxyPass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For the record, I got this working using the following:

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

<LocationMatch ^/zope$ >
    RewriteEngine On
    RewriteBase      /
    RewriteRule      ^/zope$ /zope/ [R]
</LocationMatch>

#<Location /zope/>
<Location /zope>
    Order Allow,Deny
    Deny from 192.168.0.1
    Allow from 192.168.0 127.0.0

    SSLRequireSSL

    ProxyPass
http://localhost:3456/VirtualHostBase/https/%{SERVER_NAME}:443/VirtualHostRo
ot/_vh_zope/

</Location>

## End of zope testing definition

| -----Original Message-----
| From: Administrator [mailto:admin@xxxxxxxxxxxxxxxxxxxxxxxxxx]
| Sent: Tuesday, August 30, 2005 1:13 PM
| To: users@xxxxxxxxxxxxxxxx
| Cc: 'Neil A. Hillard'
| Subject: RE: [users@httpd] Apache2 & ProxyPass
|
| Hi Neil,
|
| Thanks - I tried that, and I get a 404 from it.  I had:
|
| RewriteEngine On
| RewriteRule      ^/zope$ /zope/ [R]
|
| At the start of the set of rules I posted (before the
| '<Location /zope/>'
| statement).
|
| Am I not understanding?
| Do I need to wrap it with something?
|
| Thanks
| David
|
| | -----Original Message-----
| | From: Neil A. Hillard [mailto:hillardn@xxxxxxxxx]
| | Sent: Tuesday, August 30, 2005 12:59 PM
| | To: users@xxxxxxxxxxxxxxxx
| | Subject: Re: [users@httpd] Apache2 & ProxyPass
| |
| | Hi,
| |
| | > 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.
| |
| | You could try redirecting the client to the correct
| location (it works
| | for me but never tried it with zope):
| |
| | RewriteRule      ^/zope$ /zope/ [R]
| |
| |
| | HTH,
| |
| |
| | 				Neil.
| |
| | --
| | Neil Hillard                    hillardn@xxxxxxxxx
| | Westland Helicopters Ltd.       http://www.whl.co.uk/
| |
| | Disclaimer: This message does not necessarily reflect the
| |              views of Westland Helicopters Ltd.
| |
| |
| ---------------------------------------------------------------------
| | 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: users-unsubscribe@xxxxxxxxxxxxxxxx
| |    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
| | For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
| |
| |
| |
|
|
|
| ---------------------------------------------------------------------
| 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: users-unsubscribe@xxxxxxxxxxxxxxxx
|    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
| For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
|
|
|



---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux