At 1:31 PM +1000 7/6/99, John Beidler wrote: >Scott and Laura Moody wrote: > >> Looking at killer places to use Ada, has >> anyone plugged Ada (like gnat Ada) into the >> Apache web server infrastructure? I am >> looking into this as the traditional "perl" >> applications start to get too big (say 100 lines:-). > >You can do CGI in any language, not just Perl. TO do CGI you really >need to have the following capabilities: > >1. Read Environmental variables >2. Call system resources >3. Manipulate files and directories >4. String processing (regular expression capability) >5. Have a hash/associative array capability to simplify processing. > >All this can be done in any language, including Ada. Check out the Ada >CGI package at > >http://wuarchive.wustl.edu/languages/ada/swcomps/cgi/cgi.html > >Combining that with the GNAT/spitbol stuff should do it. > i have written lots of CGI programs in Ada, and have used my strings package which makes extracting the nth field of a string fairly easy. See www.cs.rmit.edu.au/~dale/software/index.html for more details. Dale