Re: How to enable requests:get-path-info()?
Joe Wicentowski <[email protected]>
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Message-ID | <CAHwerk2K+fGPzaNwn=HBHPkqKtCJ554+dSo67GG-AWGyz1Djdg@mail.gmail.com> |
Hi Bernie, If you're interested in configuring this within eXist, as opposed to at the proxy level, there are two ways to expose custom URLs: 1. URL Rewriting: https://exist-db.org/exist/apps/doc/urlrewrite 2. RESTXQ: https://exist-db.org/exist/apps/doc/xquery#restxq Joe On Fri, Nov 4, 2022 at 6:02 AM Harris, Bernard T. (GSFC-5870) via Exist-open <[email protected]> wrote: > 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 > _______________________________________________ Exist-open mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/exist-open