You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if i define
websocketd.exe --port=8010 --cgidir=c:\wamp64\www\PAGE\cgi-bin --staticdir=c:\wamp64\www\PAGE
the cgi scripts will be delivered as plain text (their source code)
i got it working by definig it like this:
websocketd.exe --port=8010 --cgidir=c:\wamp64\www\PAGE\cgi-bin --staticdir=c:\wamp64\www\PAGE\htm
but this should be considered as hack
it also deliver c:\wamp64\www\PAGE\js ...
Well in my case i might be lucky by this but i guess no admin would be happy with it.
cgi folder should also work if they are within a page root folder.
And please make cgi scripts also work by their extension or a valid shebang.
To call vbs-cgi by a cmd wrapper is how to say "ugly".
I would also say thanks for this nice piece of software.
it can make a monster like electron completely obsolete.
Just start the browser in a mode without GUI and write a few small (cgi) scripts for interactions with the filesystem
wrap a starter bat around and save 100 MB of useless electron bullshit :)
That is how i use it :)
So, thanks again for it :)
Thomas
The text was updated successfully, but these errors were encountered:
do yourselves a favor and run a virtual machine with any unix/linux type OS. You'd be better off with that in the long run as i can tell you are not bound by 'requirements' of a jobsite. Otherwise you wouldnt be asking such questions or having such issues.
I have a project which looks roughtly like this:
/PAGE
/PAGE/htm
/PAGE/js
...
/PAGE/cgi-bin
if i define
websocketd.exe --port=8010 --cgidir=c:\wamp64\www\PAGE\cgi-bin --staticdir=c:\wamp64\www\PAGE
the cgi scripts will be delivered as plain text (their source code)
i got it working by definig it like this:
websocketd.exe --port=8010 --cgidir=c:\wamp64\www\PAGE\cgi-bin --staticdir=c:\wamp64\www\PAGE\htm
but this should be considered as hack
it also deliver c:\wamp64\www\PAGE\js ...
Well in my case i might be lucky by this but i guess no admin would be happy with it.
cgi folder should also work if they are within a page root folder.
And please make cgi scripts also work by their extension or a valid shebang.
To call vbs-cgi by a cmd wrapper is how to say "ugly".
I would also say thanks for this nice piece of software.
it can make a monster like electron completely obsolete.
Just start the browser in a mode without GUI and write a few small (cgi) scripts for interactions with the filesystem
wrap a starter bat around and save 100 MB of useless electron bullshit :)
That is how i use it :)
So, thanks again for it :)
Thomas
The text was updated successfully, but these errors were encountered: