| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
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." |
_______________________________________________ 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.