I'm not an expert, but if I recall correctly, ns_register_proc maps an
url to a tcl procedure. However, there may be better and more
efficient methods.
http://aolserver.com/docs/devel/tcl/api/general.html#ns_register_proc


On Thu, 13 Jan 2005 09:05:06 +0000, Jorge Garcia <[EMAIL PROTECTED]> wrote:
> Hi, I want to use an URL who points to a .tcl file, but I don't want the 
> '.tcl'
> part appears in the link, i.e. 'www.web.com/file', where 'file' in the link
> equals 'file.tcl'
>
> How can I get this?.
>
> With aolserver 4.05 I get the content of the code in my browser as text.
>
> If I use the full name 'file.tcl' in the link all goes OK.
>
> I vaguely remember I could use a link to a tcl file without using the .tcl
> extension and aolserver searching the dir for a file with the same name?.
>
> Am I wrong?
>
> I wish the following priority in the files:
> file (without .tcl extension), file.tcl, file.adp, file.html
>
> Need I to add some parameter to the aolserver configuration?
>
> Thanks.
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <[EMAIL 
> PROTECTED]> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
> field of your email blank.
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to