Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add info for re-write



Ray Kiddy

This worked for me (September 2020) and seems easier to parse. I wanted to change all of "" to "" and this worked.

RewriteEngine On

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

Jeff Schmitz

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.