You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2005/03/11 13:05:06 UTC

Re: change notification url

Jann Forrer wrote:
> Hi
> 
> If I use the workflow menu i always get  a notification comment, saying
> "A document was ..." together with an URL. This URL is of the
> form
> 
> http://<server>:<port>/<context>/<publication>/<area>/<pathtodocument>
> 
> However this is somehow unsatisfactory if I have proxy
> setting enabled in publication.xconf. In that case, it would be better to
> use this entries (http://<proxy-settings>/<pathtodocument>).
> 
> How can i achieve this. At the moment the URL is composed from:
> 
> <map:parameter name="server-uri" value="http://{request:serverName}:{request:serverPort}"/>
> <map:parameter name="document-url" value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}{pag
> e-envelope:document-url}"/>
> 
> As far as i know there is no possibility to get the proxy settings using
> an input-module? Does it make sens to extend an existing module or to
> write a new one in order to get this information or is there another,
> easier solution?

Felix recently filed a bug with a patch containing an input module
for this purpose. Maybe you'd like to give it a try - when it works
for you as well, we can certainly check it in to the core.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: change notification url

Posted by Jann Forrer <ja...@id.unizh.ch>.
On Fri, 11 Mar 2005, Felix Röthenbacher wrote:

> Andreas Hartmann wrote:
> > Jann Forrer wrote:
> >
> >> Hi
> >>
> >> If I use the workflow menu i always get  a notification comment, saying
> >> "A document was ..." together with an URL. This URL is of the
> >> form
> >>
> >> http://<server>:<port>/<context>/<publication>/<area>/<pathtodocument>
> >>
> >> However this is somehow unsatisfactory if I have proxy
> >> setting enabled in publication.xconf. In that case, it would be better to
> >> use this entries (http://<proxy-settings>/<pathtodocument>).
> >>
> >> How can i achieve this. At the moment the URL is composed from:
> >>
> >> <map:parameter name="server-uri"
> >> value="http://{request:serverName}:{request:serverPort}"/>
> >> <map:parameter name="document-url"
> >> value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}{pag
> >>
> >> e-envelope:document-url}"/>
> >>
> >> As far as i know there is no possibility to get the proxy settings using
> >> an input-module? Does it make sens to extend an existing module or to
> >> write a new one in order to get this information or is there another,
> >> easier solution?
> >
> >
> > Felix recently filed a bug with a patch containing an input module
> > for this purpose. Maybe you'd like to give it a try - when it works
> > for you as well, we can certainly check it in to the core.
>
> Have a look at:
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=33742
>

Ah, very good I will give it a try. Thanks for the fast response

Jann

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: change notification url

Posted by Felix Röthenbacher <fe...@wyona.com>.
Andreas Hartmann wrote:
> Jann Forrer wrote:
> 
>> Hi
>>
>> If I use the workflow menu i always get  a notification comment, saying
>> "A document was ..." together with an URL. This URL is of the
>> form
>>
>> http://<server>:<port>/<context>/<publication>/<area>/<pathtodocument>
>>
>> However this is somehow unsatisfactory if I have proxy
>> setting enabled in publication.xconf. In that case, it would be better to
>> use this entries (http://<proxy-settings>/<pathtodocument>).
>>
>> How can i achieve this. At the moment the URL is composed from:
>>
>> <map:parameter name="server-uri" 
>> value="http://{request:serverName}:{request:serverPort}"/>
>> <map:parameter name="document-url" 
>> value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}{pag 
>>
>> e-envelope:document-url}"/>
>>
>> As far as i know there is no possibility to get the proxy settings using
>> an input-module? Does it make sens to extend an existing module or to
>> write a new one in order to get this information or is there another,
>> easier solution?
> 
> 
> Felix recently filed a bug with a patch containing an input module
> for this purpose. Maybe you'd like to give it a try - when it works
> for you as well, we can certainly check it in to the core.

Have a look at:

http://issues.apache.org/bugzilla/show_bug.cgi?id=33742

- Felix

> 
> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org