This worked for me (September 2020) and seems easier to parse. I wanted to change all of "/" to "http://opencalaccess.org/app/" and this worked.
RewriteRule ^/$ /app [R]
RewriteRule ^/index.html$ /app [R]
RewriteRule ^/app(/(.*))?$ /cgi-bin/WebObjects/app.woa$1 [PT,L]
I inserted this into my file: /etc/apache2/sites-enabled/opencalaccess.org.conf which specifies the values particular to this one domain.
I added this as arguments to the app:
And you can, of course, do this in the Properties file as well. Much thanx to Stefan Gärtner on the mailing list (Subject: Re: Apache rules and SSL, 2020/08/27)
This one stumped me for a couple days, so thought I'd add it. Was trying to add mod_rewrite functionality as described above, and things went well on my dev machine by adding the rewrite rules just to the /etc/apache2/httpd.conf file. However, on the deployment machine I also had to add them to the /etc/apache2/sites/0000_any_.conf file.