[Sputnik-list] calling kepler cgi without a .lp file
Andre Carregal
carregal at fabricadigital.com.br
Fri Nov 9 11:44:15 GMT+3 2007
On Nov 9, 2007 12:39 AM, Yuri Takhteyev <yuri at sims.berkeley.edu> wrote:
> (a very reasonable argument)
> I have to remember to try http://localhost/cgi-bin/kepler.cgi/index.lp to
> actually get to my "Congratulations!" page.
>
> kepler.cgi and kepler.cgi/ should both show index.lp, IMHO.
We can do something like that (maybe even checking for index.lua
first) built in, but another option would be to create a runner called
/apps/kepler.lua that does whatever you want.
That would allow you to do //localhost/cgi-bin/kepler.cgi?x=2 without
needing to use any .lp files.
On the other hand, the URL //localhost/cgi-bin/kepler.cgi was not
supposed to be used by hand anyway. Usually you'd have an index.html
redirecting to this URL or some web server rule associating
//localhost/site/ with CGILua (index.lp or not).
André
More information about the Sputnik-list
mailing list