Apache frontent instructions out of date

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Apache frontent instructions out of date

Henrik Pettersen
Hi Orbeon Team and community,

just wanted to let you know that these instructions:
http://www.orbeon.com/blog/2006/12/27/configuring-an-apache-front-end-for-orbeon-forms/

might be out-of-date with the latest XBL changes. Seems like some of
the XBL files in orbeon-resources-private.jar must be made available
through Apache, as well.

I 'hacked' my way to getting these instructions to work by
- Unzipping both the private and public resources to the same
/opt/orbeon/combined folder
- Moving the content of /opt/orbeon/combined/xbl/orbeon/* to
/opt/orbeon/combined/xbl/.
- Adding these additional Apache config instructions:
...
    RewriteRule ^/(xbl/.*\.xbl)$  /opt/orbeon/combined/$1 [L]
    RewriteRule ^/(xbl/.*\.js)$   /opt/orbeon/combined/$1 [L]
    RewriteRule ^/(xbl/.*\.css)$  /opt/orbeon/combined/$1 [L]

It's a bit of a hack, I know, but it got me going. One can propably
improve upon this.

Hope someone finds this usefull.

Many thanks!

Henrik


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Apache frontent instructions out of date

Erik Bruchez-3
Henrik,

These might be more up to date:

http://www.orbeon.com/orbeon/doc/reference-xforms-configuration#apache

We also plan to document better a full Apache / Tomcat configuration.

-Erik

On Thu, Nov 19, 2009 at 9:04 AM, Henrik Pettersen
<[hidden email]> wrote:

> Hi Orbeon Team and community,
>
> just wanted to let you know that these instructions:
> http://www.orbeon.com/blog/2006/12/27/configuring-an-apache-front-end-for-orbeon-forms/
>
> might be out-of-date with the latest XBL changes. Seems like some of
> the XBL files in orbeon-resources-private.jar must be made available
> through Apache, as well.
>
> I 'hacked' my way to getting these instructions to work by
> - Unzipping both the private and public resources to the same
> /opt/orbeon/combined folder
> - Moving the content of /opt/orbeon/combined/xbl/orbeon/* to
> /opt/orbeon/combined/xbl/.
> - Adding these additional Apache config instructions:
> ...
>    RewriteRule ^/(xbl/.*\.xbl)$  /opt/orbeon/combined/$1 [L]
>    RewriteRule ^/(xbl/.*\.js)$   /opt/orbeon/combined/$1 [L]
>    RewriteRule ^/(xbl/.*\.css)$  /opt/orbeon/combined/$1 [L]
>
> It's a bit of a hack, I know, but it got me going. One can propably
> improve upon this.
>
> Hope someone finds this usefull.
>
> Many thanks!
>
> Henrik
>
>
> --
> 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
>
>


--
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