Re: Re: mapping file types (*.css, *.png, ..) at <root> level
Posted by
Erik Bruchez on
Dec 29, 2010; 10:57pm
URL: https://discuss.orbeon.com/mapping-file-types-css-png-at-root-level-tp3160446p3167759.html
> this suggests that drupal and orbeon can now be tightly integrated.
Great.
> For some reason not yet figured out .. *.shtml file extensions still goes
> through orbeon ..
>
>
> Orbeon error page .. "Cannot load "/apps/svg/page-flow.xml" with webapp
> loader"
>
> If I change the *.shtml extension to *.html .. it works at <rootdir> level
> without orbeon error. Puzzling.
>
> But I can now dynamically create svg content.
>
> So question .. when does the page-flow filter kick in?
The page flow is the first thing that runs when the main Orbeon servlet runs.
If I understand well, if you have a .css file now, it is still served
by the Orbeon servlet, but it works because of the Resource Manager
configuration.
Now the .shtml extension is not listed as a file in the main page flow:
https://github.com/orbeon/orbeon-forms/blob/master/src/resources/page-flow.xmlSo instead the path /svg/foobar.shtml is interpreted as an application
path, and will attempt to run the page flow for the app "svg", which
you don't have.
So try adding .shtml to the main page flow regexp.
-Erik
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws