[opencms-dev] R: problem with opencms/opencms inside url

Marantelli Luca Luca.Marantelli at nposistemi.it
Tue Apr 20 16:48:50 CEST 2010


Thanks but i think i have a more recent version of Opencms and I don't have
this.servpath=
in that jsp
and I have mod_proxy for apache

I removed /opencms/* from

<context-param>
        <param-name>OpenCmsServlet</param-name>
        <param-value>/opencms/*</param-value>
    </context-param>

and

<servlet-mapping>
        <servlet-name>OpenCmsServlet</servlet-name>
        <url-pattern>/opencms/*</url-pattern>
    </servlet-mapping>

Placing /* in both but now I have always a blank page...


Da: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Per conto di Borja Fernandez Pillado
Inviato: martedì 20 aprile 2010 15:44
A: The OpenCms mailing list
Oggetto: Re: [opencms-dev] problem with opencms/opencms inside url

Hi Marantelli,

i had that issue too. But this article was very helpful for me.

http://opencms-forum.org/opencms-forum/viewthread;jsessionid=1BA86E02E6A3D451B0A5DE47F1DE5F9A?thread=713

I hope it helps to you as well.
2010/4/20 Marantelli Luca <Luca.Marantelli at nposistemi.it<mailto:Luca.Marantelli at nposistemi.it>>
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.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev


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/20a68480/attachment.htm>


More information about the opencms-dev mailing list