Page 1 of 1
HMGSCRIPT Compilation problem
Posted: Tue Jul 17, 2018 5:05 pm
by Shyam
To
Dear Group Friends,
I have recently downloaded HMGSCRIPT042 and installed to C: drive
I executed BUILD-CGI.BAT
the above batch file doing some things for MYAPP.PRG but
I can not get output or executed from browser program,
what should I do for compile and run WEB programs
Re: HMGSCRIPT Compilation problem
Posted: Tue Jul 17, 2018 8:16 pm
by mol
Are you running any web server, eg. Apache or uhttp server? Did you copied cgi file to correct folder?
Re: HMGSCRIPT Compilation problem
Posted: Wed Jul 18, 2018 3:02 pm
by Shyam
To,
Sir, mol
I am new for HMGSCRIPT
how to start and compile and run
I used core php and mysql,apache server
I know localhost type concept,
I do not know lavalrel or other frame work
Thanks
shyam
Re: HMGSCRIPT Compilation problem
Posted: Wed Jul 18, 2018 4:14 pm
by mol
I'm using WAMP 64 sometimes.
It's installed in C:\WAMP64
Apache server is installed inside this folder.
in Apache folder there is cgi-bin folder.
In this folder you should place your bin files.
You should check configuration to enable cgi-bin files
My path to cgi-bin is c:\wamp64\bin\apache\apache2.4.27\cgi-bin
Re: HMGSCRIPT Compilation problem
Posted: Wed Jul 18, 2018 4:17 pm
by mol
The problem is that a lot of commercial servers in internet work under linux OS.
In this case your preparation of cgi-bin file is more complicated.
Better solution is to convert database to mysql and you php procedures to get data from DB.
I've created one network application in this way and it works OK on any server.
Re: HMGSCRIPT Compilation problem
Posted: Wed Jul 18, 2018 4:18 pm
by mol
Besides, hmgscript files are js, html and php files - you don't compile them