Re: How to enable requests:get-path-info()?

Michael Westbay <[email protected]>
Newsgroups gmane.text.xml.exist
Message-ID <CAJ6MVuMfQWS2HOsS7829+kNygCRLCsxNgzbPK44A+2eR2OVrdQ@mail.gmail.com>
Hi Harris,

I use lighttpd or nginx in front of eXist and set a rewrite rule to take

     /some/path/myfile/(extra)/(path)

from the client and call eXist with

    /some/path/myfile.xq?extra=$1&path=$2

Hope this helps.


2022年11月4日(金) 19:01 Harris, Bernard T. (GSFC-5870) via Exist-open <
[email protected]>:

> I want to have something like /some/path/myfile.xq/extra/path and have
> get-path-info() return /extra/path when myfile.xq is executed like the
> documentation says.  But using such a path returns 404 (not found).  My
> guess is that this is because of the pattern in
>
>
>
> <forward pattern=".*\.(xq|xql|xqy|xquery)$" servlet="XQueryServlet"/>
>
>
>
> In controller-config.xml.  But I haven’t found anything that works.  Is
> this the problem?  Can someone with more experience configuring exist-db
> tell me how to get get-path-info() functioning for this case?  Thanks.
>
>
>
> Bernie
>
>
>
>
>
>
>
>
> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>


-- 
Michael Westbay
Writer/System Administrator
http://www.japanesebaseball.com/

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.