[Zope] skins and Virtual Host Monster

danielle danielle" <danielle@francoplone.org
Sun, 4 May 2003 01:34:11 +0200


solved: I have written *francoplone.org instead of *.francoplone.org in the
VHM
sorry to have disturbed


----- Original Message -----
From: "danielle" <danielle@francoplone.org>
To: <zope@zope.org>; "george donnelly" <george@zettai.net>
Sent: Saturday, May 03, 2003 10:27 AM
Subject: Re: [Zope] skins and Virtual Host Monster


> I think that once again I need the help of Zettai
> it's not a matter of newbie, but a subject for the one who loves newbies
>
    it was  ....
> Combining both allows you to cause a subfolder to act as the root of a
site.
> For example, suppose you want to publish Folder "/foo" as
> http://www.foo.com/, where Zope is running on port 8080 behind Apache
> running on port 80. You place a Virtual Host Monster in the root Zope
> folder, and use Apache to rewrite "/(.*)" to
>
http://localhost:8080/VirtualHostBase/http/www.foo.com:80/foo/VirtualHostRoo
> t/$1
> ----- Original Message -----
> From: "danielle" <danielle@francoplone.org>
> To: "danielle" <danielle@francoplone.org>; <zope@zope.org>
> Sent: Saturday, May 03, 2003 8:12 AM
> Subject: Re: [Zope] skins and Virtual Host Monster
>
>
> > PATH_TRANSLATED
> > >
> >
>
'/VirtualHostBase/http/www.francoplone.org:80/Members/admin/portal_form/fold
> >
> > if I looked at the path I can see 3 characters missing (X)
> > httpX/XXwww.francoplone.org:80/Members/
> >  around /  3 too much around :  ??
>
    answering to myself: read the docs!

> >
> > ----- Original Message -----
> > From: "danielle" <danielle@francoplone.org>
> > To: <zope@zope.org>
> > Sent: Saturday, May 03, 2003 1:13 AM
> > Subject: [Zope] skins and Virtual Host Monster
> >
> >
> > > a funny thing has happend on the way to the forum...
> > >
> > > in the ZMI, Find can't find folder_rename_form unless I am in the
right
> > > folder /skins/plone_forms/ ; no mistake if I customized it and look by
> id
> > I
> > > can find only one!
> > >  When I try to rename a folder I get a Attribute error status.. the
text
> > > traceback was useless ( for me)but the extensive one talks a lot
about
> > VHM,
> > > see below
> > >
> > > but how could I have survived, Find can't find any Page Templates in
my
> > > plone/skins!?
> > > and how can I correct my VHM?
> > >
> > >
> > > _ZopeId '52819178A0yrzueHl4A'
> > > SESSION id: 10519132140899699309, token: 52819178A0yrzueHl4A,
contents:
> []
> > > ids ['essai']
> > > new_titles ['essai45']
> > > AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at
> > > 0xb6d218c>
> > > BASE5
> > >
> 'http://www.francoplone.org/Members/admin/portal_form/folder_rename_form'
> > > BASE4 'http://www.francoplone.org/Members/admin/portal_form'
> > > BASE3 'http://www.francoplone.org/Members/admin'
> > > URL2 'http://www.francoplone.org/Members/admin'
> > > BASE1 'http://www.francoplone.org'
> > > __ac_name 'admin'
> > > URL1 'http://www.francoplone.org/Members/admin/portal_form'
> > > SERVER_URL 'http://www.francoplone.org'
> > > VirtualRootPhysicalPath ('', 'plone')
> > > new_ids ['essai45']
> > > USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance
> at
> > > 0xb6d218c>
> > > AUTHENTICATED_USER admin
> > > TraversalRequestNameStack []
> > > skey 'id'
> > > errors {}
> > > tree-s 'eJyLjlZ3hADniuxQW/XYWAAwUgU-'
> > > AUTHENTICATION_PATH 'plone/VHM'
> > > validation_status 'success'
> > > BASEPATH1 ''
> > > AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at
> > > 0xb6e946c>
> > > URL3 'http://www.francoplone.org/Members'
> > > management_page_charset 'iso-8859-1'
> > > form_submitted 'folder_rename_form'
> > > URL4 'http://www.francoplone.org'
> > > a_ 0
> > > here 'http://www.francoplone.org/Members/admin'
> > > rkey ''
> > > PUBLISHED <FormValidator at /plone/Members/admin/Error>
> > > URL
> > >
> 'http://www.francoplone.org/Members/admin/portal_form/folder_rename_form'
> > > BASE2 'http://www.francoplone.org/Members'
> > > n_ 8
> > > URL0
> > http://www.francoplone.org/Members/admin/portal_form/folder_rename_form
> > > URL1 http://www.francoplone.org/Members/admin/portal_form
> > > URL2 http://www.francoplone.org/Members/admin
> > > URL3 http://www.francoplone.org/Members
> > > URL4 http://www.francoplone.org
> > > BASE0 http://www.francoplone.org
> > > BASE1 http://www.francoplone.org
> > > BASE2 http://www.francoplone.org/Members
> > > BASE3 http://www.francoplone.org/Members/admin
> > > BASE4 http://www.francoplone.org/Members/admin/portal_form
> > > BASE5
> > >
http://www.francoplone.org/Members/admin/portal_form/folder_rename_form
> > > environ
> > > HTTP_ACCEPT_ENCODING 'gzip, deflate, compress;q=0.9'
> > > CONTENT_TYPE 'application/x-www-form-urlencoded'
> > > PATH_TRANSLATED
> > >
> >
>
'/VirtualHostBase/http/www.francoplone.org:80/Members/admin/portal_form/fold
> > > er_rename_form'
> > > HTTP_ACCEPT
> > >
> >
>
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q
> > >
> =0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1'
> > > GATEWAY_INTERFACE 'CGI/1.1'
> > > HTTP_X_FORWARDED_HOST 'www.francoplone.org'
> > > HTTP_ACCEPT_LANGUAGE 'fr'
> > > HTTP_X_FORWARDED_FOR '80.15.61.121'
> > > REMOTE_ADDR '216.93.166.230'
> > > SERVER_PORT '8080'
> > > HTTP_USER_AGENT 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR;
> rv:1.0.0)
> > > Gecko/20020530'
> > > HTTP_ACCEPT_CHARSET 'ISO-8859-6, utf-8;q=0.66, *;q=0.66'
> > > CONTENT_LENGTH '155'
> > > channel.creation_time 1051914202
> > > SERVER_PROTOCOL 'HTTP/1.1'
> > > PATH_INFO
> > >
> >
>
'/VirtualHostBase/http/www.francoplone.org:80/Members/admin/portal_form/fold
> > > er_rename_form'
> > > HTTP_HOST '216.93.166.230:8080'
> > > REQUEST_METHOD 'POST'
> > > SCRIPT_NAME ''
> > > SERVER_SOFTWARE 'Zope/(Zope 2.6.1 (source release, python 2.1,
linux2),
> > > python 2.1.3, freebsd4) ZServer/1.1b1'
> > > CONNECTION_TYPE 'close'
> > > HTTP_COOKIE '__ac_name="admin"; __ac="YWRtaW46WmFkbWluNg%3D%3D%0A";
> > > _ZopeId="52819178A0yrzueHl4A"; tree-s="eJyLjlZ3hADniuxQW/XYWAAwUgU-"'
> > > HTTP_X_FORWARDED_SERVER 'danielle.zettai.net'
> > > SERVER_NAME '216.93.166.230.alpha.zettai.net'
> > > HTTP_REFERER 'http://www.francoplone.org/Members/admin'
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Zope maillist  -  Zope@zope.org
> > > http://mail.zope.org/mailman/listinfo/zope
> > > **   No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://mail.zope.org/mailman/listinfo/zope-announce
> > >  http://mail.zope.org/mailman/listinfo/zope-dev )
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://mail.zope.org/mailman/listinfo/zope-announce
> >  http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )