Hi, Daniel,
 
I created new user appserver and add it to www-data group. I am running
wotaskd and Monitor as appserver.
 
Apache2 is installed by Ubuntu as root:root by default, wouldn't change
that.
After root start apache, the real APACHE_RUN_USER is setup in envvars
file as 
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
 
 
1. in webobjects.conf, leave 
 
WebObjectsDocumentRoot /Apple/Local/Library/WebServer/Documents

2. apache2.conf
 
Alias /WebObjects "/Apple/Local/Library/WebServer/Documents/WebObjects"
<Directory "/Apple/Local/Library/WebServer/Documents/WebObjects">
      AllowOverride All
      Order allow,deny
      Allow from all
</Directory>

3. sudo chown appserver:www-data
"/Apple/Local/Library/WebServer/Documents/WebObjects/MySchool.woa/Conten
ts"
 
NOW it's working, I can get image from 
http://156.13.128.145/WebObjects/MySchool.woa/Contents/WebServerResource
s/basicbrain.gif
<http://156.13.128.145/WebObjects/MySchool.woa/Contents/WebServerResourc
es/basicbrain.gif> 
 
 
further intersting question coming out
my first throught was www-data:www-data for
"/Apple/Local/Library/WebServer/Documents/WebObjects/MySchool.woa/Conten
ts", so I changed it.
 
still working, get image from link above.
 
I think the reason maybe appserver and www-data are the same group in
www-data. is that right?
 
[Question]
What is  "WebObjectsDocumentRoot" for in webobjects.conf? because we use
'Alias /WebObjects" in apache2.conf? do we need
"WebObjectsDocumentRoot"?
 
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      (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

Reply via email to