Add the following snippet to the end of your config file to make it work on aolserver 4.0 and 4.5
if {[ns_info version] >= 4.5} { ns_limits set default -maxupload [ns_config ns/server/${server}/module/nssock maxinput] }
best regards -gustaf neumann