[Zope] How Configure Server for Subdirectory Only?

Phil Harris phil.harris@zope.co.uk
Sat, 23 Jun 2001 16:04:21 +0100


Your going to kick yourself after reading this.

I'd say though that you have something wrong with your proxypassreverse
line:

ProxyPassReverse / http://thewebsons.com:8080/allmyjokes/

should probably be

ProxyPassReverse http://thewebsons.com:8080/allmyjokes/ /

any way up, change these two lines to read somtething like

ProxyPass /WebEKG http://thewebsons.com:8080/allmyjokes/
ProxyPassReverse http://thewebsons.com:8080/allmyjokes/ /WebEKG

You may need an extra slash on /WebEKG so that it looks like /WebEKG/, try
both and see which works for you.

That should fix it.

Phil

----- Original Message -----
From: "Ben Ocean" <zope@thewebsons.com>
To: <zope@zope.org>
Sent: Saturday, June 23, 2001 9:22 AM
Subject: [Zope] How Configure Server for Subdirectory Only?


> Hey;
> I've configured my Apache/RH6.2 server to serve Zope on one of my
> (currently inactive) URLs with this VirtualHost tag in the httpd.conf
file:
>
>  >>>
> VirtualHost 216.145.1.127>
> ServerAdmin webmaster@allmyjokes.com
> ServerName www.allmyjokes.com
> ServerAlias allmyjokes.com *.allmyjokes.com
> ErrorDocument 401 /errors/401.html
> ErrorDocument 403 /errors/403.html
> ErrorDocument 404 /errors/404.html
> ErrorDocument 500 /errors/500.html
> Alias /icons/ /apache/vhosts/icons/
> ProxyPass / http://thewebsons.com:8080/allmyjokes/
> ProxyPassReverse / http://thewebsons.com:8080/allmyjokes/
> ProxyPass /misc_ http://thewebsons.com:8080/allmyjokes/misc_
> ProxyPass /p_ http://thewebsons.com:8080/p_
> </VirtualHost>
> <<<
>
> It works fine. Now, I want to configure something similar for another URL
> but_I_only_want_it_for_a_subdirectory, like this:
> http://thewebsons.com/WebEKG
> I want to keep the main Web site in regular HTML and served from my Apache
> server, not through Zope. How do I configure it so that
> just_this_subdirectory is served through Zope?
> TIA,
> BenO
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )