Forum OpenACS Q&A: Where is /web/${SERVER} hard-coded?

Collapse
Posted by Brent Fulgham on
I've got ACS up and running.  I'm just getting started with thevarious on-line administrative tasks, and ran across a problem withthe homepage module.  It seems that "/web" is hardcoded someplace inthis module, because I can't do any web page setting without gettingthe error:  mkdir ("/web/oblique/users/3") failed:  no such file or directory.This is exactly right -- I have no /web directory.  What I do have isa /var/www directory, which houses all web content, and is known aboutby the nsd.tcl and "server.tcl" startup stuff for the ACS.Any idea where I might be picking up a spurious "/web" value?Thanks,-Brent
Collapse
Posted by Dan Wickstrom on
You need to set ContentRoot in the users section of your init file.
Collapse
Posted by Don Baccus on
Or in the .tcl version, set acs_root in the parameters file.
Collapse
Posted by Brent Fulgham on
Must these changes be in place prior to the "load-data-model" run,
or can I make the changes to a "live" system and things will just work?  (I.e., must I fix, then reload the data model?)

Thanks!

Collapse
Posted by Don Baccus on
No, you don't need to reload the datamodel.  Once that's loaded, the only time you have to touch it is to track datamodel changes.

The parameters are only used by the .tcl scripts, not the files used to load the datamodel.