Last modified by Yana Oksner on 2026/01/08 11:38

From version 31.1
edited by pgr
on 2009/11/23 16:55
Change comment: There is no comment for this version
To version 29.1
edited by Marc Guenther
on 2009/09/29 06:57
Change comment: added url to mod_WebObjects binaries

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.pgr
1 +XWiki.marc
Content
... ... @@ -48,9 +48,10 @@
48 48  
49 49  Anyone who has used WebObjects has likely noticed that WebObjects URLs are long ##[[http://yoursite.com/cgi-bin/WebObjects/AppName.woa/wa/something]]##. It is a common request to make these URLs nicer for end-users who are used to just requesting ##[[http://yoursite.com]]##. Fortunately Apache provides an amazingly extensive module called "mod//rewrite" that allows you to rewrite the URL requests of your site based on a series of regular expressions and rules.//
50 50  
51 -Aaron Rosenzweig has a very thorough article about [[using mod//rewrite with Apache//>>http://www.jewelryluv.com/fashion/pageWithName/ModRewrite/]].
51 +Aaron Rosenzweig has a very thorough article about [[using mod//rewrite with Apache//>>http://web.archive.org/web/20071007074308/http://www.jewelryluv.com/fashion/pageWithName/ModRewrite/]].
52 +(Note that the original page is now gone, so this link takes you to the internet archive copy of that page)
52 52  
53 -=== mod//rewrite with mod//webobjects ===
54 +=== mod//rewite with mod//webobjects ===
54 54  
55 55  I ran into a problem with mod//rewrite when using mod//WebObjects where mod//WebObjects had be loaded first or it just wouldn't work properly (it would work fine with cgi-bin adaptor).//
56 56  
... ... @@ -123,16 +123,6 @@
123 123  
124 124  And, of course, either change the name of the WebObjectsAlias setting from /cgi-bin/WebObjects to <foo>/WebObjects or comment out the ScriptAlias definition for the /cgi-bin/ directory.
125 125  
126 -{{info title="Note"}}
127 -
128 -The default {{ScriptAlias}} directive in the 10.5 and 10.6 {{httpd.conf}} files is:\\
129 -{code}
130 - ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
131 -{code}
132 -This prevents {{/cgi-bin/WebObjects}} from matching, so no change to {{WebObjectsAlias}} or {{ScriptAlias}} is necessary.
133 -
134 -{{/info}}
135 -
136 136  Other than these tips, it's pretty much the standard compilation and installation, and configuration.
137 137  
138 138  1. Alter the make.config file in the Adaptors directory of the Wonder repository to reflect your apache installation setup.