Forum OpenACS Q&A: Re: Where is the default homepage

Collapse
Posted by Sam Nicholson on
Indeed.

From etc/config.tcl:
set serverroot "/var/lib/aolserver/${server}"
set pageroot ${serverroot}/www
set directoryfile index.tcl,index.adp,index.html,index.htm
# Server parameters
#
ns_section ns/server/${server}
ns_param directoryfile $directoryfile
ns_param pageroot $pageroot

unix$ cd ${serverroot}
unix$ ls
ChangeLog log
bin packages
content-repository-content-files readme.txt
database-backup tcl
etc www
license.txt

unix$ ls www
ls www
SYSTEM default-master.adp login-status.adp site-master.adp
blank-master.adp default-master.tcl login-status.tcl site-master.tcl
blank-master.tcl global robots.txt

There's no index.anything in there.

So, in the standard, vanilla setup as described in
the docs, what is the name of the file that is served as
the initial home page (post install, pre config), and
in what directory is it located?

Or is there a config (in config.tcl) that I'm overlooking
which maps the initial page?

Or is this only correctly handled by install.sh?
But nothing in there *seems* to create an index file
in www/

I'm sure I'm being dense here, so someone please whack
me with a 2x4. But I *think* I've gotten everything
referenced in the install docs covered. But when I
"b. Attempt to connect to the service from a web browser."
via http://myserver.tld:8080/ I get a 404 from aolserver.
I don't get a page that looks like "this," and when I
grep "OpenACS Installation: Welcome" through the entire
distribution, I find it way down in the tree at: packages/acs-core-docs/www/files/openacs-start.html

I have tried just copying that file to /www. I get the
content, but the button fails in calling nstall-data-model?
as it doesn't exist.

Thanks for all your patience!!
-sam