| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi,
I managed starting wo app from Monitor and I can get it from link like:
http://156.13.128.145/Apps/WebObjects/MySchool.woa
That's mean request go through HTTP adaptor, but the image not showing up from /WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif"
1. In webobjects.conf I set up
WebObjectsDocumentRoot /Library/WebServer/Documents
I put image source under /Library/WebServer/Documents/WebObjects/MySchool.woa/Contents/WebServerResources
But nothing come out.
Is this right place for WebServerResources?
Because I found something in apache error log
[Fri Jul 03 16:21:35 2009] [error] [client 166.6.25.81] File does not exist: /htdocs, referer: http://156.13.128.145/Apps/WebObjects/MySchool.woa
I don't know where is setup this /htdocs. Maybe it's default setup somewhere, but not for Ubuntu.
2. I tried setup something in apache2.conf
Alias /WebObjects "/Local/Library/WebServer/Documents/WebObjects"
<Directory "/Local/Library/WebServer/Documents/WebObjects">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
I copy all WebServerResources under "/Local/Library/WebServer/Documents/WebObjects/MySchool.woa/Contents/WebServerResources"
Then in error log I got
[Fri Jul 03 16:22:23 2009] [error] [client 166.6.25.81] (13)Permission denied: access to /WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif denied, referer: http://156.13.128.145/Apps/WebObjects/MySchool.woa
So question is who should be the owner for this WebServerResources in Ubuntu( not Mac, appserver), www-data?
Thanks
kevin
"This communication is confidential and may contain privileged and/or copyright material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email, delete the emails and destroy any hard copies. ANZ National Bank Limited does not guarantee the integrity of this communication, or that it is free from errors, viruses or interference."
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.