Hi!
I more or less understand how URLs to missing/wrong/moved XWiki pages work involving
docdoesnotexist.vm, but I'm still not able to modify this behavior by reading/taking
into account values of request/responses exchanges between client and server.
For instance: I would like to redirect a number of "short" URLs like this...
http://www.idisantiago.es/BIS2013
to a set of given XWiki pages. Currently I can, and I did, a redirection of all of them to
a single page by modifying Main.DocumentDoesNotExist this way...
{{velocity}}
$response.sendRedirect($xwiki.getURL("BIS2013.Schedule"))
{{/velocity}}
But I'm not able to find the way of using request's name and status in Velocity
#if(). Please, see attached file. I found a number of what I consider related information
dealing with $response, $request, URL resolution, URL mappings and so on, so forth, but I
'm afraid this is too much for me to digest!
Please, could anybody point me in the right direction? Am I completely lost?
Thanks for your help!!!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada
e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a
destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta
mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es
privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es
el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o
copia de este mensaje no está autorizada.
See more languages:
http://www.sergas.es/aviso_confidencialidad.htm