[opencms-dev] Removing opencms/opencms , I am desperate
Jose Fermin Athie Campollo
athiecampollo at gmail.com
Mon Sep 28 17:50:49 CEST 2015
Hi Piblo!
I suppose you had already saw this
http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_(apache_%2B_mod_proxy
)
To remove the second opencms, that is the servlet one is a little bit hard.
I use url rewrite to remove it.
I set this rules in the file
<rule>
<condition type="request-uri" operator="notequal">^/export/.*$</condition>
<condition type="request-uri"
operator="notequal">^/resources/.*$</condition>
<condition type="request-uri"
operator="notequal">^/opencms-errorhandler/.*$</condition>
<condition type="request-uri" operator="notequal">^/webdav/.*$</condition>
<condition type="request-uri" operator="notequal">^/opencms/.*$</condition>
<condition type="request-uri" operator="notequal">^/setup/.*$</condition>
<from>^/(.*)$</from>
<to>/opencms/$1</to>
</rule>
I never use it, but for eliminate the first opencms you have to change de
web.xml with the param-name "DefaultWebApplication", change param-value
ROOT for opencms.
I hope you find it useful
Regards,
Fermin
El lun., 28 de sept. de 2015 a la(s) 8:42 a. m., piblo <
pablobetancor at gmail.com> escribió:
> Thank you for the answer, but I get the same error:
>
> "
> A system error reading a resource occurred!
> Error del servidor 404
> No encontrado
>
> El recurso solicitado "/opencms/system/login/index.html" no se encontró en
> el servidor.
> "
>
>
>
> --
> View this message in context:
> http://opencms.996256.n3.nabble.com/Removing-opencms-opencms-I-am-desperate-tp25811p25813.html
> Sent from the OpenCMS mailing list archive at Nabble.com.
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150928/5d64de6a/attachment.htm>
More information about the opencms-dev
mailing list