VirtualHostRoot in LinguaPlone selector URL

2 messages Options
Embed this post
Permalink
francoise () VirtualHostRoot in LinguaPlone selector URL
Reply Threaded More More options
Print post
Permalink
Hi all,

I have recently added Apache in front of Zope and I face a strange problem with the LinguaPlone selector.

My home page is a Collage Page, it is language neutral, its Id is "front-page"

If I try to change the language, when I am on my home page, I have VirtualHostRoot in the URL :

     http://mysite.universite.fr/VirtualHostRoot?set_language=en&-C=

It is happening for this homepage and also for a page template "organisation.pt", I have on the root of my site :

     http://mysite.universite.fr/VirtualHostRoot/organisation?set_language=en&-C=

It does not happen for a Plone page I have on the root of my site :

     http://mysite.universite.fr/contacts?set_language=en&-C=

Here is part of the apache conf :

   RewriteEngine On
   RewriteLog /var/log/apache2/rewrite_log
   RewriteLogLevel 0
   RewriteRule ^(.*)$ http://localhost:8090/VirtualHostBase/http/mysite.universite.fr:80/labo/SITE/VirtualHostRoot/$1 [L,P]

I use Plone 3.3.1 and LinguaPlone 3.0a3

I saw LinguaPlone svn had many new version (up to 3.0b8), and the selector code seem to have changed.

Should I use a 3.0b version of LinguaPlone ? If so, which one would you advice ?

Did I made a mistake in apache configuration ?

Regards
francoise () Re: VirtualHostRoot in LinguaPlone selector URL
Reply Threaded More More options
Print post
Permalink
I made a test and the problem seems to disapear with LinguaPlone 3.0b8 : no more VirtualHostRoot in URLs

However, I get other problems, I have some page templates that use query_string to get parameters
     http://mysite.universite.fr/teams?id=14&tab=members

With old LinguaPlone versions my query_string parameters where lost when changing language
     http://mysite.universite.fr/teams?&set_language=en

Now the parameters are kept but the page template is lost :
     http://mysite.universite.fr/?id=38&set_language=fr

I think I will keep LinguaPlone 3.0a3

To install LinguaPlone, I fixed its version to 3.0b8 in version.cfg, ran buildout, then upgraded it in Site Setup - Add on products

By the way, is there a way to come back to a previous version of a product ?

Regards

2009/11/4 francoise <[hidden email]>

Hi all,

I have recently added Apache in front of Zope and I face a strange problem
with the LinguaPlone selector.

My home page is a Collage Page, it is language neutral, its Id is
"front-page"

If I try to change the language, when I am on my home page, I have
VirtualHostRoot in the URL :

    http://mysite.universite.fr/VirtualHostRoot?set_language=en&-C=

It is happening for this homepage and also for a page template
"organisation.pt", I have on the root of my site :


http://mysite.universite.fr/VirtualHostRoot/organisation?set_language=en&-C=

It does not happen for a Plone page I have on the root of my site :

    http://mysite.universite.fr/contacts?set_language=en&-C=

Here is part of the apache conf :

  RewriteEngine On
  RewriteLog /var/log/apache2/rewrite_log
  RewriteLogLevel 0
  RewriteRule ^(.*)$
http://localhost:8090/VirtualHostBase/http/mysite.universite.fr:80/labo/SITE/VirtualHostRoot/$1
[L,P
]

I use Plone 3.3.1 and LinguaPlone 3.0a3

I saw LinguaPlone svn had many new version (up to 3.0b8), and the selector
code seem to have changed.

Should I use a 3.0b version of LinguaPlone ? If so, which one would you
advice ?

Did I made a mistake in apache configuration ?

Regards
--
View this message in context: http://n2.nabble.com/VirtualHostRoot-in-LinguaPlone-selector-URL-tp3944391p3944391.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users