Re: Rivet and snit....



You are thinking too much about this - you are at the point you need to
start testing.

If you are not backloading Apache 1.3 to get the benefits of rivet,
then just go at it with tcl as a CGI execution.

You will need to set up Apache to make sure your directories are ready
to execute CGI (if you plan to say turn your welcome page into a CGI
script to generate the page). Also - you will need to make sure the
file extension is knowln by Apache (e.g. if you use something other
than .cgi as a file extension for your scripts).

Do not worry about generating forms or receiving forms at this point.
Just get your first script to execute properly (.e.g "hello world") --
then move on to more interesting aspect of doing this.

I personally like to create ONE script to handle a page delivery and
also a form submission from that same page. This basically becomes a
huge IF statement to determine how the user is addressing the page and
what to do with that request -- specifically, if the user is calling
the script, and there are not submission variables - I know to just
deliver information to them, -- if they submit data to the page, I have
logic to look for some key submission variables and values that clearly
indicate it's intent - then process it as a form submission script.

You can use SSI, it works fine, but would recommend that you only do
this when you do not want to use frames.

Hope this helps.

Dave

.



Relevant Pages

  • Re: dynamic lib ignored even after "found" in "install_driver(Oracle) failed: Cant load..." cgi prob
    ... the solution i found is this: i moved the directory containing libclntsh.so under /usr/lib, which is a location that apache seems to trust, as opposed to where i had originally placed this directory. ... so, if i knew then what i know now, here are the steps _I_ would use were i to install the oracle instantclient such that the DBD::Oracle module would work when used in an apache 2.0 CGI: ... i also could run it this way by placing tnsnames.ora in my home directory as .tnsnames.ora, but this location will do me no good when i want apache to run the script as a cgi. ... am i missing some sort of configuration detail regarding apache and permissions granted a cgi? ...
    (perl.dbi.users)
  • Re: Rivet and snit....
    ... AFAIK websh works well with Apache 2.0. ... > to execute CGI (if you plan to say turn your welcome page into a CGI ... > script to generate the page). ... > indicate it's intent - then process it as a form submission script. ...
    (comp.lang.tcl)
  • Re: Apache Security Issue: File Access
    ... > I just recognized that with Apache configured for VirtualHosts, ... > - no one can ready files using a file system call in CGI or ASP ... Does the target program name have a / or .. ... Does the user who owns the target script exist on the system? ...
    (comp.security.unix)
  • Re: PHP and MySQL passwords
    ... I'll assume your on a linux system with apache as your webserver. ... If it is shared is PHP running as a module or cgi? ... If you code the user/pass in a file anyone with an account on the ... file either by reading it directly or by writing a script to read it. ...
    (alt.php)
  • Re: Help getting Perl/CGI running on OS X localhost with apache
    ... >>shtml = SSI, not CGI ... you can call a script using SSI directives. ... http://localhost/ your document root is /users/peter/Sites. ... Normally Apache set up questions should be asked in an Apache related ...
    (comp.lang.perl.misc)