[w3m-dev-en 00234] Re: local cgi

From: Johannes Zellner (johannes@zellner.org)
Date: Tue Sep 26 2000 - 16:46:48 CDT

  • Next message: Johannes Zellner: "[w3m-dev-en 00235] printing"

    On Tue, Sep 26, 2000 at 04:34:18PM +0900, aito@ei5sun.yz.yamagata-u.ac.jp wrote:
    > In article <20000926071642.A640@zellner.org>,
    > Johannes Zellner <w3m-dev-en@mi.med.tohoku.ac.jp> writes:
    >
    > > > Just use
    > > >
    > > > file:///cgi-bin/info2www
    > > >
    > > > /cgi-bin/ is an alias to the directory specified in `cgi-bin'
    > > > directories in the option panel.
    > >
    > > no. this does'nt work either :-(
    >
    > Then try
    >
    > file:///cgi-bin/info2www?
    [...]

    ok. This works indeed. But there is an important variable
    SCRIPT_NAME missing, see
        http://Web.Golux.Com/coar/cgi/draft-coar-cgi-v11-03-clean.html
    (linked from somewhere at http://www.w3.org/)
    cgi scripts use this sometimes to refer to themselves.
    The patch is attached.

    Are there any reasons, why file:///cgi-bin/info2www (w/o ? appended)
    shouldn't be executed locally ? -- if not, I'd do the patch ...

    -- 
       Johannes
    




    This archive was generated by hypermail 2b29 : Tue Sep 26 2000 - 16:56:24 CDT