Dragonfly 0.50 Released!

Started by itistoday, November 11, 2009, 04:28:08 PM

Previous topic - Next topic

Kirill

#15
Quote from: "Lutz"Although PATH_INFO is in the CGI standard it is not supported (or configured?) by even the  Apache web-server (see: http://www.newlisp.org/environment.cgi">http://www.newlisp.org/environment.cgi on nfshost.net).


It is: http://www.newlisp.org/environment.cgi/hello-lutz">http://www.newlisp.org/environment.cgi/hello-lutz



Note PATH_INFO and PATH_TRANSLATED.

Lutz

#16
Oh, I see, so the env variable only shows up if not empty, could be easily extracted/set then using a htpp-conf.lsp.

m35

#17
Quote from: "itistoday"#!/bin/bash

NEWLISP_REDIRECTION="./dragonfly-framework/newlisp-redirection.lsp"

if [ ! -f $NEWLISP_REDIRECTION ] ; then
echo "ERROR: cannot find file: $NEWLISP_REDIRECTION"
exit 1
fi

echo "If all goes well visit http://localhost:8080 in your browser"
newlisp "$NEWLISP_REDIRECTION" -c -http -d 8080 -w .


Hopefully this works. It should on XP and above. Not sure about 95 and 98.
@ECHO OFF
SET NEWLISP_REDIRECTION=.dragonfly-frameworknewlisp-redirection.lsp

IF NOT EXIST "%NEWLISP_REDIRECTION%" GOTO NOFILE

ECHO If all goes well visit http://localhost:8080 in your browser
newlisp "%NEWLISP_REDIRECTION%" -c -http -d 8080 -w . %*

GOTO END

:NOFILE
ECHO ERROR: cannot find file: %NEWLISP_REDIRECTION%

:END

hilti

#18
Dragonfly 0.51 is released!



All the updates are available now in a ZIP archive on Google Code.



Cheers!

Hilti
--()o Dragonfly web framework for newLISP

http://dragonfly.apptruck.de\">http://dragonfly.apptruck.de

itistoday

#19
Quote from: "m35"Hopefully this works. It should on XP and above. Not sure about 95 and 98.
@ECHO OFF
SET NEWLISP_REDIRECTION=.dragonfly-frameworknewlisp-redirection.lsp

IF NOT EXIST "%NEWLISP_REDIRECTION%" GOTO NOFILE

ECHO If all goes well visit http://localhost:8080 in your browser
newlisp "%NEWLISP_REDIRECTION%" -c -http -d 8080 -w . %*

GOTO END

:NOFILE
ECHO ERROR: cannot find file: %NEWLISP_REDIRECTION%

:END


Awesome!



Thanks a bunch m35, I finally had a chance to test this today and it worked without a hitch. This too will be in 0.51 (which was pulled due to a premature release).
Get your Objective newLISP groove on.