On Tue, Jun 21, 2022 at 11:48:02AM -0500, 'Bill Tantzen' via DSpace Technical Support wrote:
> It looks as if your setup is similar to mine, but your apache directives
> are a bit different from the ones suggested in the installation docs (
>
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace) for both the
> frontend and the backend -- can you comment on your tweaks?
Let's see:
o <Location "/dspace-v7/"> because I have several distinct instances
of DSpace deployed on the box, and this one is named "dspace-v7".
o "ProxyPass ajp://[::1]:8509/dspace-v7" because I am running several
versions of Tomcat on the box, and that particular instance is
listening for AJP on 8509 rather than the normal 8009.
o The front-end stuff is all because I'm running the front-end raw
rather than in PM2. I needed to ensure that HTTPD doesn't try to
pool connections to it. I should review these settings to see if I
really need them all.
o I have separate ProxyPass and ProxyPassReverse, rather than tucking
it all into the second <Location/>, because the single-argument
form doesn't take options.
> On Tue, Jun 21, 2022 at 9:47 AM Mark H. Wood <
mwood...@gmail.com> wrote:
> > # DSpace v7 demo back-end
> > <Location "/dspace-v7/">
> > ProxyPass ajp://[::1]:8509/dspace-v7/
> > </Location>
> >
> > # DSpace v7 demo front-end
> > <Location "/">
> > SetEnv proxy-nokeepalive 1
> > SetEnv proxy-initial-not-pooled 1
> > </Location>
> > ProxyPass "/" "
http://localhost:4000/" disablereuse=On max=1
> > ProxyPassReverse "/" "
http://localhost:4000/"