Hello,

I don't understand you, why are doing this? rvt file is the same as tcl;)
you can put in rvt whole tcl script, or tcl mixing with html. So if you
add to Apache config to handle rvt and tcl files you will have support for
extension .tcl and .rvt but it will be the same. So don't worry and do
this:

1. create tcl or rvt file
2. submit via <form action="myfile.rvt"> or <form action="myfile.tcl"> or
<form action="myfile"> ( if you use modrewrite )
3. parse all input, and print the output
4. the happy ending ;)

best wishes,
Skirmantas

>
> Well, it seems that the only way to play a .rvt file is to call it within
> a
> form's action attribute like this:
> <form action="myfile.rvt">
>
> Is it not possible to map a tcl procedure to the form's action? like this:
> <form action="do_login">
>
> The do_login would be a procedure in a tcl file.
>
> then in the do_login procedure, once all the checks are made you would do
> this:
>
> put [parse "login.rvt"]
>
> Thank you
>
> davidnwelton wrote:
>>
>>>  I don't mind doing this, but how? The documentation is poor (not a
>>> criticism
>>>  :) ) on this.
>>
>> What part of this isn't clear?
>>
>> http://tcl.apache.org/rivet/docs/installation.html
>>
>> Specifically:
>>
>> Rivet is relatively easy to configure - we start off by adding the
>> module itself:
>>
>>     LoadModule rivet_module /usr/lib/apache/1.3/mod_rivet.so
>>
>> This tells Apache to load the Rivet shared object, wherever it happens
>> to reside on your file system. Now we have to tell Apache what kind of
>> files are "Rivet" files and how to process them:
>>
>>     AddType application/x-httpd-rivet .rvt
>>     AddType application/x-rivet-tcl .tcl
>>
>> These tell Apache to process files with the .rvt and .tcl extensions
>> as Rivet files.
>>
>> The bit above that about configure.tcl needs reworking, but the above
>> configuration information hasn't changed in years.
>>
>> --
>> David N. Welton
>>
>> http://www.welton.it/davidw/
>>
>> http://www.dedasys.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/outputting-.rvt-file-tp15658941p15670015.html
> Sent from the Rivet - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to