Forum OpenACS Q&A: 404 on startup

Collapse
Posted by Adam Klaff on
I just got openacs installed, and now when i boot up the server i get
a 404 for the front page.  My directory structure is this:

all the aolserver files (including openacs) are in /home/aolserver
the openacs files are in /home/aolserver/web/server1/www

i have the homedir in nsd.tcl set to "[file dirname [ns_info config]]"
i have pageroot set to "${homedir}/web/${server}/www

any help is appreciated

Collapse
2: Response to 404 on startup (response to 1)
Posted by Brett Schwarz on
What is 'server' set to in your config file? It should match 'server1' if you want it to find it. although you will probably want to change this in the future (both in the config and the directory name)

Also, look into the log file. It usually answers all of my questions when I have problems (/home/aolserver/log/server.log)

you can also add "ns_log" commands in the config file and in any TCL code and it will show up in the log file. So, for your case, I would put a ns_log Notice "$homedir $server" to get an idea of what these are set to, and if they are correct. Add this, and then retart aolserver.

--brett