Apache is most widely used web server, around 68% share in December 2004. Now it's Windows version can be run on Windows 2003 / XP / 2000 /NT / ME / 98 / 95. It can be downloaded from from www.apache.org for free.
Note: Here we use the apache 2.0.x win32 version to illustrate the steps for running web application with WebRainbow on Apache Server, and assume that:
- The web server root is "C:\Program Files\Apache Group\Apache2\htdocs\"
- The web server script alias "/cgi-bin/" is "C:\Program Files\Apache Group\Apache2\cgi-bin\"
If the Apache 1.3.x is used, the installed folder will be the C:\Program Files\Apache Group\Apache instead of C:\Program Files\Apache Group\Apache2
Followings are the instructions for running WebRainbow demo. For detailed information about following demonstrations, see these sections:
- HelloWorld -- The First Program
- Processing HTML FORM
- Only FORM Merged In
- Easy to Implement NPH
- Redirection & File Download
- Using ADO
- Data Transfer
- Dynamic Binary Content
- File Upload/Download
VB Runtime DLLs for the demo:
HelloWorld
- Copy just compiled HelloWorld.exe into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Launch browser, type in http://your_site/cgi-bin/HelloWorld.exe, hit the Enter. Here "your_site" is the address for your Web Server.
HtmlForm
- Copy just compiled HtmlForm.exe into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Launch browser, type in http://your_site/cgi-bin/HtmlForm.exe, hit the Enter. Here "your_site" is the address for your Web Server.
HtmlSection
- Copy just compiled HtmlSection.exe into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Create new folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile3, (Note: "HtmFile3" is case sensitive).
- Copy
- HtmSec1.html,
- HtmSec2.html,
- HtmSec3.html,
- HtmSec4.html,
- HtmSecF1.html,
- HtmSecF2.html,
- HtmSecF3.html,
- HtmSecL.html,
- HtmSecS.html,
into the folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile3\, These files are normally in the folder C:\Program Files\WebRainbow\demo\htmlsect\htmlfile\, if you did not change the installation directory for WebRainbow.
- Create new folder C:\Program Files\Apache Group\Apache2\htdocs\wrimages, (Note: "wrimages" is in lower case).
- Copy
- bullet_p.gif,
- bullet_g.gif,
- webrnb.gif,
- red_dot.gif,
- blue_dot.gif,
- powerby.gif,
into the folder C:\Program Files\Apache Group\Apache2\htdocs\wrimages.These files are normally in the folder C:\Program Files\WebRainbow\doc\images\, if you did not change the installation directory for WebRainbow.
- Launch browser, type in http://your_site/cgi-bin/HtmlSection.exe, hit the Enter. Here "your_site" is the address for your Web Server.
nph
- Create new folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile3, if it is not exist. (Note: "HtmFile3" is case sensitive).
- Copy
- HtmSecF1.html,
- HtmSecL.html,
- HtmSec2.html,
into the folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile3\, These files are normally in the folder C:\Program Files\WebRainbow\demo\nph\htmlfile\, if you did not change the installation directory for WebRainbow.
- Launch browser, type in http://your_site/cgi-bin/nph-HtmlSection.exe, hit the Enter. Here "your_site" is the address for your Web Server.
- Note: If you want to switch back to normal access to HtmlSection.exe after running this demo, you need to copy
- HtmSecF1.html,
- HtmSecL.html,
- HtmSec2.html
into the folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile3\. These files are normally in the folder C:\Program Files\WebRainbow\demo\htmlsect\htmlfile\, if you did not change the installation directory for WebRainbow.
SendFile
- Copy just compiled
- Frame.exe,
- FramePage.exe,
- UrlRedirect.exe,
- FileSend.exe,
into the folderC:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Create new folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile4, (Note: "HtmFile4" is case sensitive).
- Copy
- frame.html,
- logo.html,
- menu.html,
- main.html,
into the folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile4\. All these files are normally in the folder C:\Program Files\WebRainbow\demo\sendfile\htmlfile\, if you did not change the installation directory for WebRainbow.
- Create new folder C:\Program Files\Apache Group\Apache2\htdocs\wrimages, (Note: "wrimages" is in lower case).
- Copy webrnb.gif into C:\Program Files\Apache Group\Apache2\htdocs\wrimages. It is normally in the folder C:\Program Files\WebRainbow\doc\images\, if you did not change the installation directory for WebRainbow.
- Launch browser, type in http://your_site/cgi-bin/Frame.exe, hit the Enter. Here "your_site" is the address for your Web Server.
- Note: When this demo is running with either Trial or Limited version of WebRainbow, there are extra bytes appended in the end of downloaded file due to the hidden mark and banner advertisement associated with these two versions.
AccessDB
- Copy just compiled AccessDB.exe as well as survey.mdb into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Create new folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile6, (Note: "HtmFile6" is case sensitive).
- Copy
- DBExit.html,
- DBLogin1.html,
- DBLogin2.html,
- DBLogin3.html,
- DBRecrd1.html,
- DBRecrd2.html,
- DBRecrd3.html,
- DBThanks.html,
into the folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile6\. All these files are normally in the folder C:\Program Files\WebRainbow\demo\accessdb\htmlfile\, if you did not change the installation directory for WebRainbow.
- Create new folder C:\Program Files\Apache Group\Apache2\htdocs\wrimages, (Note: "wrimages" is in lower case).
- Copy webrnb.gif and powerby.gif into C:\Program Files\Apache Group\Apache2\htdocs\wrimages, They are normally in the folder C:\Program Files\WebRainbow\doc\images\, if you did not change the installation directory for WebRainbow.
- Launch browser, type in http://your_site/cgi-bin/AccessDB.exe, hit the Enter. Here "your_site" is the address for your Web Server.
RedirS and RedirR
- Copy just compiled RedirS.exe and RedirR.exe, as well as survey.mdb into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Create new folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile7, (Note: "HtmFile7" is case sensitive).
- Copy
- RdExit.html,
- RdLogin1.html,
- RdLogin2.html,
- RdLogin3.html,
- RdRecrd1.html,
- RdRecrd2.html,
- RdRecrd3.html,
- RdThanks.html,
into the folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmFile7\. All these files are normally in the folder C:\Program Files\WebRainbow\demo\redirdt\htmlfile\, if you did not change the installation directory for WebRainbow.
- Create new folder C:\Program Files\Apache Group\Apache2\htdocs\wrimages, (Note: "wrimages" is in lower case).
- Copy webrnb.gif and powerby.gif into C:\Program Files\Apache Group\Apache2\htdocs\wrimages, They are normally in the folder C:\Program Files\WebRainbow\doc\images\, if you did not change the installation directory for WebRainbow.
- Launch browser, type in http://your_site/cgi-bin/RedirS.exe, hit the Enter. Here "your_site" is the address for your Web Server.
DynaBin
- Copy just compiled DynaBin.exe into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Create new folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmlFile9. (Note: "HtmlFile9" is case sensitive).
- Copy
- JS.html,
- pdftest.tmp,
into the folder C:\Program Files\Apache Group\Apache2\cgi-bin\HtmlFile9\. All these files are normally in the folder C:\Program Files\WebRainbow\demo\dynabin\htmlfile\, if you did not change the installation directory for WebRainbow.
- Launch browser, type in http://your_site/cgi-bin/DynaBin.exe, hit the Enter. Here "your_site" is the address for your Web Server.
- Note: When this demo is running with either Trial or Limited version of WebRainbow, there are extra bytes appended in the end of downloaded file due to the hidden mark and banner advertisement associated with these two versions.
HttpPost
- Copy just compiled HttpPost.exe into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Copy test.xml into the folder containing the just compiled Poster.exe. This test.xml is normally in the folder C:\Program Files\WebRainbow\demo\httppost\ if you did not change the installation directory for WebRainbow.
- Launch the Poster.exe, type in
- your_site/cgi-bin/HttpPost.exe in the TextBox HTTP://,
- test.xml in the TextBox Data source :,
- text/xml in the TextBox Content Type :,
hit the Send. Here "your_site" is the address for your Web Server.
File Upload
- Copy just compiled demoFileUpload.exe into C:\Program Files\Apache Group\Apache2\cgi-bin\
- Make sure that WRnbwB.dll is in this folder too.
- Create a new folder C:\Program Files\Apache Group\Apache2\cgi-bin\files, (Note: "files" is case sensitive).
- Create a new folder C:\Program Files\Apache Group\Apache2\cgi-bin\temp, (Note: "temp" is case sensitive).
- Launch browser, type in http://your_site/cgi-bin/demoFileUpload.exe, hit the Enter. Here "your_site" is the address for your Web Server.
- After the file(s) uploaded, the file(s) will be saved in C:\Program Files\Apache Group\Apache2\cgi-bin\files\ and C:\Program Files\Apache Group\Apache2\cgi-bin\temp\ should be empty.
- Note: When this demo is running with either Trial or Limited version of WebRainbow, there are extra bytes appended in the end of downloaded file due to the hidden mark and banner advertisement associated with these two versions.
Good luck!
For the latest information on WebRainbow, please see:
For questions / comments please email to:
Copyright © 2000 - 2005 D.M.F. Systems, Corporation. All rights reserved.
Last modified on March 2, 2005