Forum OpenACS Q&A: Why is nsunix failing to redirect .tcl queries?

I've set up an AOLserver with a few virtual hosts on nsunix. This works pretty good, but queries for dynamic pages in subdirectories are not redirected by the master server to the correct server. Take a look at master.access.log and www.openacs.dk.access.log, where the first logs the master (and any query to AOLservers running on the server), while the last one logs requests to www.openacs.dk.

/nsd/log/master.access.log:
194.239.170.136 - - [19/May/2001:19:13:30 +0200] "GET /bboard/ HTTP/1.1" 200 0 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:13:51 +0200] "GET /bboard/index.html HTTP/1.1" 200 0 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:13:59 +0200] "GET /bboard/index.tcl HTTP/1.1" 404 549 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:14:28 +0200] "GET /bboard/ HTTP/1.1" 200 0 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:21:18 +0200] "GET / HTTP/1.1" 200 0 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:21:40 +0200] "POST /register/user-login.tcl HTTP/1.1" 404 549 "http://www.openacs.dk/" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"

/nsd/log/www.openacs.dk.access.log:
194.239.170.136 - - [19/May/2001:19:13:30 +0200] "GET /bboard/ HTTP/1.1" 200 442 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:13:51 +0200] "GET /bboard/index.html HTTP/1.1" 404 15 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:14:28 +0200] "GET /bboard/ HTTP/1.1" 200 442 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"
194.239.170.136 - - [19/May/2001:19:21:19 +0200] "GET / HTTP/1.1" 200 0 "" "Mozilla/5.0 (compatible; Konqueror/2.1; X11)"

I has the servers set up using nssock at one point and the same problem occured, when I was directing my requests through the master server. When I didn't (by using the servers port number) the problem dasappeared.

My config files can be found at http://www.openacs.dk/master.tcl.txt and at http://www.openacs.dk/www.openacs.dk.tcl.txt. You're welcome to try http://www.openacs.dk, which at this point is just the basic OpenACS 3.2.5.

Thanks,

I found a solution myself. The answer is to disable .tcl pages on the master (as it was clearly noted in Jerruy Asher's great HOWTO).

Anyway:
ns_section ns/server/master
ns_param EnableTclPages Off