nsd.tcl is still the only place for config, it is just instead of
hardcoding registration of callbacks for ADP in c, now they are
registered in Tcl. That means, without config.tcl .adp files will not be
served even if enabled in nsd.tcl.
I am not sure if this is good moving core functionality into Tcl, that
means running just nsd binary now will not work properly without proper
tcl/*.tcl files
Vasiljevic Zoran wrote:
> On Dec 4, 2007, at 4:18 PM, Vlad Seryakov wrote:
>
>> By not working what exactly happens?
>
> Just html gets served. The adp constructs are ignored.
> But I believe I found the culprit...
>
> The file ns/tcl/config.tcl is completely new for me!
> There I see:
>
> #
> # Register ADP page handlers for GET, HEAD and POST
> # requests, if enabled.
> #
>
> proc _ns_config_server_adp_pages {server} {
>
> This means that ADP module needs to be setup
> IN ADDITION to the server configuration file.
> This is pretty obscure I would say... I will not
> argue now if this is right or wrong, as I need
> to make this work pronto. But having two places
> where something is configured is prett confusing.
> Is there some hidden/important reason why is this so?
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> naviserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel