Hello Lists, I'm using VirtualHostMonster and Apache to manage different Virtual Hosts. Everything works perfect except the case where I want Zope to serve the contents of http://www.mysite.com/zope and the rest by Apache. In my httpd.conf I have following: RewriteRule ^/zope/(.*) http://localhost:8080/VirtualHostBase/http/www.mysite.com:80/ VirtualHostRoot/_vh_zope/$1 [P,L] Now: If I try to add a "Silva Document" within the "Silva Management Interface" the URL redirects to: https://www.mysite.com/zope/silva/edit/add_object? meta_type=Silva%2520Folder (-> and then I get a System problem...) instead of https://www.mysite.com/zope/silva/edit/add_object? meta_type=Silva%20Folder See: %2520 instead of %20 Is this an error of mine (my configuration/setup), a bug of Silva or VirtualHostMonster or...? Greetings, Michele Marcionelli -- Michele Marcionelli - webmaster@math - Phone: +41 1 632 6193 Address: HG G 14 - Raemistrasse 101 - 8092 Zürich - Switzerland
Michele Marcionelli wrote at 2005-2-14 12:18 +0100:
... Now: If I try to add a "Silva Document" within the "Silva Management Interface" the URL redirects to:
https://www.mysite.com/zope/silva/edit/add_object? meta_type=Silva%2520Folder (-> and then I get a System problem...)
instead of
https://www.mysite.com/zope/silva/edit/add_object? meta_type=Silva%20Folder
See: %2520 instead of %20
Note that "%20" is wrong as well: the so called "query string" must not contain blanks, neither verbatim nor as "%20". In query strings blanks must be coded as "+". It looks like a Silva bug (using "quote" instead of "quote_plus"). -- Dieter
Hallo Dieter, but if I configure my Virtual Host to serve only zope as follow: RewriteRule ^(.*) http://localhost:8080/VirtualHostBase/http/www.mysite.com:80/ VirtualHostRoot/$1 [P,L] everything works fine... I think that this is a problem of VirtualHostMonster with the "_vh_" notation... Regards, Michele On 14.02.2005, at 19:13, Dieter Maurer wrote:
Michele Marcionelli wrote at 2005-2-14 12:18 +0100:
... Now: If I try to add a "Silva Document" within the "Silva Management Interface" the URL redirects to:
https://www.mysite.com/zope/silva/edit/add_object? meta_type=Silva%2520Folder (-> and then I get a System problem...)
instead of
https://www.mysite.com/zope/silva/edit/add_object? meta_type=Silva%20Folder
See: %2520 instead of %20
Note that "%20" is wrong as well: the so called "query string" must not contain blanks, neither verbatim nor as "%20". In query strings blanks must be coded as "+".
It looks like a Silva bug (using "quote" instead of "quote_plus").
-- Dieter
-- Michele Marcionelli - webmaster@math - Phone: +41 1 632 6193 Address: HG G 14 - Raemistrasse 101 - 8092 Zürich - Switzerland
participants (2)
-
Dieter Maurer -
Michele Marcionelli