Re: Linux Webserving Exe
- Posted by irv at take.maxleft.com Nov 15, 2002
- 463 views
On Friday 15 November 2002 11:38 am, CK wrote: > What file would I need to put in my cgi-bin folder in order to have > EUPHORIA serve up some data for me? I'd love to serve info from an EDS > database or something! BTW, my site is hosted on a Linux box. > > How would I access it? What would I need to imbed in my HTML for EUPHORIA > to give me the data? And how would my EUPHORIA program need to output data? > puts()? print()? > > Thanks for all the help! :) Hi CK: This, and Rom's comment about the lack of documentation, looks like an opportunity to write a tutorial. As it happens, I have an upcoming need for a template-driven web-based database app to maintain a database of about 100,000 customers. If that is along the lines of what you want to do, perhaps we could collaborate on this, and turn the discussion into a tutorial? First of all, in my cgi-bin directory, I have pdexu, get.e, machine.e, wildcard.e, strtok.e, database.e -- standard Eu files, with read-only permissions for user apache (pdexu must have read + execute permissions set) demung.e, html.e -- my own file to decode data passed to apache from the user's browser, and routines to help in creating html without having to hard-code it all. (r/o) You can get these files from the RDS website http://www.RapidEuphoria.com/cgi.tar.gz Be sure to create a cgi-errors directory (readable & writeable by all) off your / directory. This is where Eu will write error messages. Download that package and install the files, then try to connect to http://localhost. You have to get that much working before there's any way to write the connections to your database. Regards, Irv