Hi Ren, You're close. You basically need to do the following: 1. In webobjects.conf, leave the following, if it's working correctly: WebObjectsDocumentRoot /Library/WebServer/Documents2. You are correct in putting your static assets here: /Library/WebServer/Documents/WebObjects/MySchool.woa/Contents/WebServerResources3. In apache2.conf, use this: Alias /WebObjects "/Library/WebServer/Documents/WebObjects"4. As a test, do the following from console/shell under Ubuntu: a. sudo chown www-data:www-data "/Library/WebServer/Documents/WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif" b. Test http://156.13.128.145/WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif from browser. If the test works: c. sudo chown -R www-data:www-data "/Library/WebServer/Documents/WebObjects/" If it doesn't work, you've got permission issues within /Library you need to fix so that Apache2 user/group that it's running under can read the files. Note: I don't have a "default" instance of Apache2 running under Ubuntu so I'm not sure if it's running as user "www-data" or "apache". If it's "apache", change the chown user from "www-data" to "apache". Also, if you're deploying as "appserver", and Apache2 is running under "www-data", you can change the system's umask to 002 and add the "appserver" group to the www-data/apache user. That way you're not using different users for the static and WO part of the deployment. This is the preferred way. Let me know how it goes. You're almost there. Cheers, Daniel -- Daniel Kao - Seattle, WA, U.S.A. Übermind, Inc. * http://ubermind.com/ * "Your Vision, Our Experience" WOlastic * http://wolastic.com/ * "WebObjects in the Cloud" Ren, Kevin wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to arch...@mail-archive.com