Setup local SunONE ASP test environment on your PC

From Lunarpages Web Hosting Wiki

First, on your local Windows PC setup Apache locally, as this is required before proceeding with SunONE ASP. A how-to on setting up Apache can be found at:

Now, download SunONE ASP after you get Apache running correctly. The download page is at (pick the one for Windows 2000/XP; although it notes XP Pro it will run on Home Edition as well):

After it downloads, simply doubleclick on the program (fpr example, sunone_asp4.0.1-win.exe), then follow the installation instructions. You will need to stop Apache and then restart it during the installation. If you do not know how to do this, you can go to Start -> Run, then enter net stop Apache to stop and net start Apache to start. You will also need to restart your computer after completing installation to ensure all components are configured correctly.

After you restart the computer, check ASP is running along with Apache simply by going to http://localhost/caspsamp/default.asp and you should see a page there with handy tips and code. The installation automatically includes the following components:

  • Chili!Mail
  • Chili!POP3
  • Chili!Upload

A handy code included with the installation is a page at http://localhost/caspsamp/diag/server.asp You can view the source code and then create this on your account online.

The code would be the following:

 <table width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#666699" class="list">
 <tr bgcolor="#666699">
 <font color="#FFFFFF" size="3" face="Geneva, Arial, Helvetica, san-serif">
 <strong>Server Variable</strong>
 <font color="#FFFFFF" size="3" face="Geneva, Arial, Helvetica, san-serif">
 <% For Each vName In Request.ServerVariables %>
 <td height="26" valign="top" bgcolor="#E3E3E3"> <strong><font color="#666699"><%= vName %>:</font></strong>
 <td bgcolor="#FFFFFF"> <font color="#666699">
 Select Case Request.ServerVariables(vName)
 Case ""
 Response.Write("<font color=""#FF0000""><strong>NULL</strong></font>")
 Case Else
 End Select
 </font> </td>
 <% Next %>

Please post at the following location if you have questions concerning this how-to: