[opencms-dev] Resolving links - Online

Jonathan Woods jonathan.woods at scintillance.com
Mon Feb 13 11:24:22 CET 2006


Hari -
 
Not sure about OpenCms side.  But if you're serving through Apache, you can
use mod_rewrite to rewrites URLs however you like.  So, in your
application's code you could have:
 
    out.println("/opencms/Jvolution/search/b");
 
and in Apache's httpd.conf, a mod_rewrite rule which matches paths like that
and rewrites them to the 'real' thing.
 
mod_rewrite info is at http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
or http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html depending on which
version of Apache.
 
Jon

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Hari
Sent: 13 February 2006 09:32
To: The OpenCms mailing list
Subject: [opencms-dev] Resolving links - Online



Hi,

 

The link "/opencms/Jvolution/StartSearchServlet?searchType=B" on the offline
version resolves to "/opencms/Jvolution/StartSearchServlet_1151025690" on
the online version.

 


We obviously want the query string not to change. Do we know if there is a
way to get round this?

 

Thanks

Hari

 

 

This email and any attachments or links are confidential and intended only
for the individual to whom it is addressed. If you are not the intended
recipient, any use or dissemination of this communication is strictly
prohibited and you are requested to notify the sender immediately and then
delete this email. JVolution does not accept liability for any data
corruption, unauthorised amendment, viruses and unforeseen delays to which
this email may be subject. This email and any attachments or links are
opened at your own risk. JVolution can take no responsibility for the
consequences of actions carried out as a result of this e-mail.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060213/e7834716/attachment.htm>


More information about the opencms-dev mailing list