Folks,

Here is the content I propose to add to the top-level .htaccess file
to merge in generated doc that is not passing through the CMS.

If anyone hates this idea, please speak up. Otherwise, in a day or
two, this will appear (and disappear if it doesn't work, of course).



RewriteEngine on

# if file is not found in CMS content, look into components
RewriteCond %{REQUEST_URI} !^/components/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /components/$1 [C]

# in case of directory without trailing /, do the redirect or httpd
will do a redirect from /foo to /components/foo/
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !/$
RewriteRule components/(.*) /$1/ [R]

On Thu, Oct 29, 2015 at 8:52 PM, Benson Margulies <[email protected]> wrote:
> I set up the pom for the maven-bundle-plugin to use the
> maven-scm-publish-plugin to push the generated doc to svn. However,
> it's not visible yet, because there's some trickery needed to combine
> the CMS content with this content.
>
> https://issues.apache.org/jira/browse/INFRA-10688
>
> describes how this is currently done for the Maven project.
>
> Does anyone object to applying the same glue to Felix? Obviously, if
> infra@ comes up with a clean 'unionfs' solution for Maven, it could
> also be applied to Felix.

Reply via email to