-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Right. Then you need to use the Virtual Host map tab at the root of your
Zope instance and you're done :)
FYI, instanciate each CPS instance in a ZODB Mount Point for being able
to have separated DB for each site to avoid problems of packaging and
corruption on all the instances. It works and in it's in production for
our customers. So you may do it safely.
J.
Michael Dauer wrote:
> Julien,
> Thank you again for your answer.
> I read the how-to and of cause I tried you rule. But both sources implement
> a one domain/server for one CPS site szenario.
> That is not what I need. I need to have a common public name for my server
> e.g. abc.mydomain.net for the whole ZOPE with all CPS sites as
> "subdirectories" as on a native Zserver.
> And when I add another CPS site it should be accessible without having to
> add extra rewrite rule which cannot via web.
> Regards
> /M
>
> -----Original Message-----
> From: Julien Anguenot [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 18, 2005 4:01 PM
> To: Michael Dauer
> Cc: [email protected]
> Subject: Re: [CPS-users] Apache Frontend
> Importance: Low
>
> Hi,
>
> Michael Dauer wrote:
>
>>>Hi again,
>>>
>>>I had some problems in analysing the symtoms before. This came from a
>>>strange behavier due to a wrong default charset in apache.
>>>
>
>
> right what was it ?
>
>
>
>>>Anyway, I would very much appreciate if you could help me to configure
>>>the rewrite rules.
>>>
>
>
> I sent you already a VirtualHost directive that is working and that we
> are using in here in one of my previous messages.
>
> +
>
> http://www.cps-project.org/sections/documentation/sysadmin/howto_to_setup_cp
> s_with
>
>
>
>>>I simply want to use Apache2 as SLL-enabler for Zserver. Every request
>>>https://abc.mydomain.net should be rooted to http://localserver:8080.
>>>And of cause all local references should be handles correctly. Other
>>>domains serviced by the same apache server should be handled differently.
>>>
>>>I thought I could do it that way:
>>>
>>><VirtualHost *:443>
>>>
>>>ServerName abc.mydomain.net
>>>
>>>RewriteRule ^/(.*)
>>>
>
> http://localhost:8080/VirtualHostbase/https/%{HTTP_HOST}:443/VirtualHostRoot
> /$1
>
>>>[P,L]
>>>
>>>It seems to work everywhere in ZMI but not when actually calling a CPS
>>>site. There many links and references are generated wrong. The cps site
>>>id is ommitted in the path - e.g. https://abc.mydomain.net/sections
>>>instead of https://abc.mydomain.net/cps/sections.
>>>
>
>
> Try to apply mine.
>
>
>
>>>After solving this problem I would like to know if I can improve the
>>>performance by using some caching mechanism of apache2?
>
>
> Sure. You may use the apache cache or even a SQUID for caching purpose.
>
> If you want to improve the load of your server you may want to check ZEO
> and clusterized you Zope instance with the the use of load balancer such
> as balance or pound.
>
> J.
>
> --
> Julien Anguenot | Nuxeo R&D (Paris, France)
> CPS Plateform : http://www.cps-project.org
> mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Plateform : http://www.cps-project.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFCi1nyGhoG8MxZ/pIRAn6QAJ9+ljGb+DD8etxRcON6P4RP3AtYSQCfR6fJ
Hbar6S4wUpLWtmywGVrfxUE=
=szYN
-----END PGP SIGNATURE-----
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users