List Info

Thread: VHM question / prob.




VHM question / prob.
country flaguser name
Canada
2007-09-24 10:32:19
Hi,

I was wondering if it is possible to use multiple differents
URI that 
responds to sub-sections of one main plone instance.

Ex.:

Main plone instance:

    * ip:8080/mon_site will be access with monsite.org

Section that need to have multiple URI, one by sub-section:

    * ip:8080/mon_site/communautes/communaute-1 accessible
with com1.org
      and monsite.org/communautes/communaute-1
    * ip:8080/mon_sitecommunautes/communaute-2 accessible
with com2.org
      and monsite.org/communautes/communaute-2
    * ....

Try differents things ... but i'm a bit confused with the
differents 
parameters:

<VirtualHost *:80>
    ServerName com1.org
    ServerAlias www.com1.org
    ServerAdmin admincom1.org
    ServerSignature On
    ErrorLog logs/com1.org-error_log
    CustomLog logs/com1.org-access_log common

 <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteRule ^/communautes/com1(.*) 
http://ip:8080/VirtualHostBase/http/com
1.org:80/mon_site/VirtualHostRoot/$1 
[L,P]
 </IfModule>

</VirtualHost>

and after :

<VirtualHost *:80>
    ServerName com1.org
    ServerAlias www.com1.org
    ServerAdmin admincom1.org
    ServerSignature On
    ErrorLog logs/com1.org-error_log
    CustomLog logs/com1.org-access_log common

 <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteRule ^/(.*) 
http://ip:8080/Virtual
HostBase/http/com1.org:80/mon_site/communautes/com1/VirtualH
ostRoot/$1 
[L,P]
 </IfModule>

</VirtualHost>

but neither of them work ... i'm confused ...

Any help will be appreciated
-- 

*Christophe Bélanger*



_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )