Well, you ask what is wrong with the status quo and then tell us about
the modifications you have made to your server in order to get around
one of the problems which wouldn't exist if either of the suggestions
made by Charles Henrich and myself were adopted. You are absolutely
right that there is no reason that the script and coversheet should
have to be in different directories. There is also no reason that
directories containing scripts have to be listed in configuration
files and processed on server start up. Or that scripts need to be
distinguished from ordinary files by a naming convention which the
server presumably decodes. Adding unnecessary complexity to the
server is undesirable. You have now added more code to your server
and you still don't have the functionality (much less the simplicity)
that a very minor change in the protocol would give.
> With this all in mind, my comments on the two changes which seem to be on
> the table:
>
> 1) Having a magic character which delimits CGI script parameters ---
>
> I could live with this, although as I say, I really don't think it's
> much of the client's business.
It is *none* of the client's business -- everyone agrees that the path
part of the URL is opaque to the client. We are talking about making
the *servers* clean and simple and about making things clearer for human
maintainers. All I am saying is SIMPLE IS GOOD. Unnecessary complexity
is bad.
> However, it would require modifying
> every script out there which takes PATH_INFO --- and every invocation of
> one.
>
I have to plead guilty to starting this discussion at much too late a
date. The suggestions should have been made several months ago when
the CGI standard was still in flux. One possibility is that this
issue could be addressed in CGI/1.1. I would point out that nothing
suggested requires any change in browsers and changes to scripts and
servers should be very minimal. I think that relatively few scripts
currently use PATH_INFO.
I would be interested in hearing from server writers, like Rob McCool, Tony
Sanders and the CERN server author. Also the views of script writers
would be valuable. Are there examples of widely used scripts that would
break?
John Franks Dept of Math. Northwestern University
[email protected]