Changes for page Configuring Apache for WebObjects
Last modified by Aaron Rosenzweig on 2020/09/03 22:17
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Deployment - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.k iddyr1 +XWiki.karesz - Tags
-
... ... @@ -1,1 +1,0 @@ 1 -deployment - Content
-
... ... @@ -91,24 +91,6 @@ 91 91 92 92 {{id name="Apache22Adapter"/}} 93 93 94 -=== Ray Kiddy === 95 - 96 -This worked for me (September 2020) and seems easier to parse. I wanted to change all of "(% class="nolink" %)http:~/~/opencalaccess.org/cgi-bin/WebObjects/app.woa(%%)/" to "http:~/~/opencalaccess.org/app/" and this worked. 97 - 98 ->RewriteEngine OnRewriteRule ^/$ /app [R]RewriteRule ^/index.html$ /app [R]RewriteRule ^/app(/(.*))?$ /cgi-bin/WebObjects/app.woa$1 [PT,L] 99 - 100 -I inserted this into my file: /etc/apache2/sites-enabled/[[opencalaccess.org>>url:http://opencalaccess.org||shape="rect"]].conf which specifies the values particular to this one domain. 101 - 102 -I added this as arguments to the app: 103 - 104 -((( 105 -(% class="Apple-tab-span" %) 106 - 107 ->-Der.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/app.woa-Der.extensions.ERXApplication.replaceApplicationPath.replace=/app 108 - 109 -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) 110 -))) 111 - 112 112 === Jeff Schmitz === 113 113 114 114 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.