From: Joe W. <jo...@gm...> - 2022-11-04 14:47:31
|
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 <exi...@li...> 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 > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |