Let me add that the reason to place rss feeds outside the webapp
directory is to support multiple instances with just one docBase.
I check the source code and just cannot figure out how to accomplish this.
I appreciate it if someone can  explain how this can be done.
Many thanks.

Hai-Chen Tu

-----Original Message-----
From: HC Tu ( 杜海成 ) [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 02, 2008 4:50 PM
To: [email protected]
Subject: RE: RSS with absolute path filename

In http://www.jspwiki.org/wiki/GettingRSSToWork someone has done the same thing 
and it works for him.
I follow his example and it doesn't work. Maybe I misunderstood the example.

Hai-Chen


-----Original Message-----
From: Juan Pablo Santos Rodriguez [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2008 4:38 PM
To: [email protected]
Subject: Re: RSS with absolute path filename

Hi,

jspwiki.rss.fileName is relative to your wiki root, that's why you're getting 
that url feed. My guess is, you've set it beginning with slashes, so it is 
getting generated on your tmp dir. As this property is also relative to jspwiki 
root, you're also getting the messed url.

regards,
jp

2008/6/2 HC Tu ( 杜海成 ) <[EMAIL PROTECTED]>:

> Yes, I did. Actually the rssURL is generated based on the baseURL and 
> rss filename.
>
> Hai-Chen
>
> -----Original Message-----
> From: Juan Pablo Santos Rodriguez [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 02, 2008 4:08 PM
> To: [email protected]
> Subject: Re: RSS with absolute path filename
>
> Hi,
>
> have you set jspwiki.baseURL? it is mandatory in order to enable rss 
> feeds (cfr. jspwiki.properties)
>
> regards,
> jp
>
> 2008/6/2 HC Tu ( 杜海成 ) <[EMAIL PROTECTED]>:
>
> > Hi,
> >        I configured RSS filename as an absolute path, something like
> >
> >                jspwiki.rss.fileName = \\tmp\\rss.rdf
> >
> >        JSPWiki is able to generate the feed file corretly but the rss URL
> >        becomes http://domain/mywiki//tmp/rss.rdf and aceesing it results
> >        a 404  error, i.e.,
> >
> >        description The requested resource (/mywiki//tmp/rss.rdf) is 
> > not available.
> >
> >        Do I need to configure some additiona properties?
> >
> > Hai-Chen Tu
> >
> >
> >
> >
> >
> > DISCLAIMER:
> > Sample Disclaimer added in a VBScript.
> >
>
>
> DISCLAIMER:
> Sample Disclaimer added in a VBScript.
>


DISCLAIMER:
Sample Disclaimer added in a VBScript.


DISCLAIMER:
Sample Disclaimer added in a VBScript.

Reply via email to