[opencms-dev] problem with opencms/opencms inside url
Marantelli Luca
Luca.Marantelli at nposistemi.it
Tue Apr 20 13:44:23 CEST 2010
Hi
I have a problem in OpenCms configuration.
I installed opencms from the war. I renamed opencms.war in cms.war and I deployed it into tomcat webapps folder.
So now I have cms/opencms in url.
But I need to delete cms/opencms everywhere, also inside html.
I read a lot of topics and documentation about this but I can't solve the problem.
If I use <vfs-prefix>/</vfs-prefix> in opencms-importexport.xml as suggested inside documentation, then when I login into workplace I get error 404 and I can't access the WPlace.
But using this configuration if I go directly to online I see url without cms/opencms.
If I use static export setting true to "export" property and "exportname" = / on default folder, every resource online is with cms/export. But I need to remove cms/export inside html for seo optimization.
I also noticed that if I don't use static export (so I leave false export property and I use <vfs-prefix>/</vfs-prefix> in opencms-importexport.xml), every link is ok except fot the links I created inside htmlwidget in a structured content. So ALL link are ok, but not those that are inside that widget. I define that widget this way:
<xsd:element name="TestoBreve" type="OpenCmsString" minOccurs="1" maxOccurs="1" />
Then in layot I defined:
<layout element= "TestoBreve" widget="HtmlWidget" configuration="link,anchor" />
So there is a way to do that (without touching apache configuration) directly in opencms? I can Install opencms in tomcat ROOT folder in order to avoid the first "cms". But I don't understand how to remove the second inside opencms configuration
thanks
-----------------------------------------------------
Luca Marantelli
Npo Sistemi S.p.A. - Gruppo Npo
S.S. 11 Padana Superiore 28
20063 Cernusco s/Naviglio MI
Cellulare: +39 3487560072
Tel.: +39 02 92596.460
Fax: +39 02 92596.317
Mail: lucamarantelli at nposistemi.it<mailto:luca.russo at nposistemi.it>
Web: www.nposistemi.it<http://www.nposistemi.it/>
AVVERTENZE AI SENSI DEL D.LGS. 196/2003 .
Il contenuto di questo messaggio (ed eventuali allegati) e' strettamente confidenziale. L'utilizzo del contenuto del messaggio e' riservato esclusivamente al destinatario. La modifica, distribuzione, copia del messaggio da parte di altri e' severamente proibita. Se non siete i destinatari Vi invitiamo ad informare il mittente ed eliminare tutte le copie del suddetto messaggio .
The content of this message (and attachment) is closely confidentiality. Use of the content of the message is classified exclusively to the addressee. The modification, distribution, copy of the message from others are forbidden. If you are not the addressees, we invite You to inform the sender and to eliminate all the copies of the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100420/a9a651d0/attachment.htm>
More information about the opencms-dev
mailing list