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/Contents"
NOW it's working, I
can get image from
further intersting
question coming out
my first
throught was www-data:www-data for "/Apple/Local/Library/WebServer/Documents/WebObjects/MySchool.woa/Contents",
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."