ASP Code
  Home arrow ASP Code arrow Alternative to MS IIS (Use any platform, w...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP CODE

Alternative to MS IIS (Use any platform, with iASP) - by Michael Wright
By: aspfree
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 7
    2001-09-05

    Table of Contents:

    Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


     
    Alternative to MS IIS (Use any platform, with iASP) - by Michael Wright
      
     Introduction
     
     Are you becoming annoyed by the constant MS IIS security breaches occurring again and again? You really want to stop using the server but cannot find a suitable alternative, or perhaps you simply wouldn't have a clue on how to go about setting it up? Many more increasingly damaging worms and viruses are being directed at Microsoft products, including the "Red Code" and "Red Code [2]" - see http://www.incidents.org/react/code_redII.php. It could be time for a change, but you must remember that if a system is not kept up-to-date (patched) regularly it does not matter, which OS or web server you use, your still screwed!
     
     I already had some experience in using Apache servers with PHP and MySQL but this didn't really solve my problem. My PHP skills weren't up to scratch and I felt much more comfortable programming in ASP. Plus, many of my existing custom scripts, etc are done in ASP so this makes the problem worse. So, I turned to a new alternative, a program that has now given me the best of both worlds in web development. This program is Instant ASP (iASP)!
     
     What is iASP?
     
     With iASP, you can enjoy the benefits of ASP development, but not be constrained to one platform (MS 98, NT, 2000). In fact, because iASP is implemented in Java, you can develop web-based applications that run anywhere, anytime. From Apache Web Servers to IBM WebSphere. From Netscape to O'Reilly. From Microsoft Windows NT to Linux, UNIX, Novell SCO, Lotus, Sun Solaris, and Apple - Write Once, Run Anywhere! iASP comes with more features, functionality, and capability than any implementation of ASP in the market. Blend ActiveX components with Enterprise Java Beans or CORBA-compliant objects. Through Active Data Objects (ADO), interactively interface to and leverage any database to publish dynamic data, information, and content.
     
     Trying to avoid the sales spiel above, this product will allow you to use my favourite server, database, and programming language (Apache, MySQL, and ASP). This is a very secure, fast data access and easy to code solution, which will run on MS 98 or Linux Redhat 7 (to name a few) and can be set-up for FREE, for development purposes ONLY.
     
     So what do I need to start?
     
     This document will show you how to set-up an Apache web server, with MySQL, PHP and iASP on the MS Win 98 OS. If you want to install on a Linux machine (even more secure) you'll have to set-up the Apache server, MySQL and PHP yourself, download the development edition of iASP from http://www.halcyonsoft.com and then follow the Linux/Apache instructions included in the download.
     
     You need (MS Win98 users):
     
     
     Lets start setting it up
     
     You should now have no web server installed on your system and downloaded the above programs. It is quite easy to install Apache, MySQL and PHP on your system.
     
     
    • Run the PHPTriad file and following the set-up instructions. It does take a while to unpack all the files, so be patient.
    • Now check that the server works using a browser by going to http://localhost/ and you should see information about PHPTriad.
    • Check the file \apache\WARNING-WIN.txt and note it.
    • Edit the file \apache\conf\httpd.conf and add DirectoryIndex default.asp under the line <ifmodule mod_dir.c>.
    • Reboot!
    • Get used to the server and MySQL with the provided help files and samples.
     Now you have to install Instant ASP (iASP) to allow you to use your ASP scripts (both VB and J Script) on your new server.
     
     
    • Run the downloaded Instant ASP file and follow the set-up instructions carefully.
    • After the set-up is complete, run Start Admin and follow through the instructions provided both on-screen and at http://www.halcyonsoft.com/asp-doc.
    • Restart the iASP server and check your ASP files work (copy a directory of ASP files to \apache\htdocs\ and check them at http://localhost/newdirectory/newfile).
     Last of all you must set-up the MySQL driver and create the code to access MySQL databases.
     
     
    • Copy the mm.mysql-2.0.4-bin.jar file to the \instantasp\lib directory.
    • Edit the \instantasp\start-server.bat file and include mm.mysql-2.0.4-bin.jar into the classpath line.
    • Edit the \instantasp\properties\dbserver.properties file and set 'MySqlConnector = false' unless you have Instant ASP Enterprise Edition.
    • Restart iASP server.
     To connect to a MySQL database, your connection string should look like the below code:
     
     

    "Driver=drivername;URL={http://www.myURL.com};UID=username;PWD=password;"

    For example:

    Set objCnn=Server.CreateObject("ADODB.Connection")
    objCnn.Open "Driver=org.gjt.mm.mysql.Driver;URL={jdbc:MySQL://localhost:3306/MySQLDB};UID=root,pwd=test"

     
     What to do if I need more help?
     
     There are many places you can get more help (this is the Internet).
     
     
     Can I just use a hosting company for iASP?
     
     You can indeed! I've searched the web and found a hosting company who provides accounts for developers, for FREE. The company is called MediaHost and you can apply for an account at http://dev.startcom.org.
     
     
    Prices start from as low as $9.95 per month and include features to help you build and promote your online presence. All plans have unlimited traffic (conditions apply), unlimited email aliases, unlimited autoresponders, our easy-to-use e-commerce suite, lots of pre-configured scripts, FrontPage 97/98/2000 Extensions (if requested), your own CGI Bin, weekly site statistics, PHP, Perl, C/C++, ASP, Python, and more.
     
     Who wrote this information I'm reading?
      
     

    Michael Wright has wrote this document for information purposes only. The above document only expresses the opinion of Michael Wright and should be left to the reader to gather the facts. Michael Wright cannot and will not be held responsible for any damage or loss of data caused by anything written in this article or the programs used within it. Please follow the instructions at your own risk.

    Please feel free to contact me about any job offers and promotional products, events or partnerships at michael_wright@lineone.net


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

    More ASP Code Articles
    More By aspfree

     

    IBM® developerWorks developerWorks - FREE Tools!


    NEW! Accelerating Software Innovation on i on Power Systems

    Attend this launch webcast with Scott Hebner, Vice President of IBM Rational Marketing and Strategy, for an overview of Rational’s new software offerings and resources to help modernize and accelerate software innovation on i on Power Systems – while ensuring past application investments are protected and continue to grow. Learn how these solutions are helping customers extend their core i5/OS solutions toward modern architectures such as SOA and web technologies to deliver business improvements that stand the test of time.
    FREE! Go There Now!


    NEW! Download DB2 Express-C 9.5

    Visit IBM developerWorks to download IBM DB2 Express-C 9.5, a no-charge version of DB2 Express 9 database server. DB2 Express-C offers the same core data server base features as other DB2 Express editions and provides a solid base to build and deploy applications developed using C/C++, Java, .NET, PHP, and other programming languages.
    FREE! Go There Now!


    NEW! Evaluate IBM Rational Software Analyzer V7.0

    Download a free trial version of IBM Rational Software Analyzer Developer Edition V7.0 to identify bug defects earlier in the software development cycle. Rational Software Analyzer is an extensible software development solution that reduces the expense of bug-fixes by enabling static analysis code reviews and bug identification very early in the development cycle.
    FREE! Go There Now!


    NEW! IBM Rational AppScan Standard Edition V7.7

    Secure your Web applications with IBM Rational AppScan Standard Edition V7.7, previously known as Watchfire AppScan. This Web application security testing tool automates vulnerability assessments and scans and tests for common Web application vulnerabilities. Visit IBM developerWorks to download a free trial of IBM Rational AppScan Standard Edition V7.7.
    FREE! Go There Now!


    NEW! Innovate don't duplicate! Asset reuse strategies for success

    Asset Reuse is a key strategy for companies looking to create innovative solutions to solve complex software development problems. Searching for, identifying, updating, using and deploying software assets can be a difficult challenge. Listen to this webcast, to learn about strategies and tools that you can leverage for a successful project, including Rational Asset Manager, Rational Software Architect and WebSphere Service Registry and Repository.
    FREE! Go There Now!


    NEW! Rational 'Talks to You' Teleconference Series

    This Fall, IBM Rational talks to you directly through a special teleconference series giving you access to the best minds in IBM Rational - product experts and market thought leaders who will answer your questions during these pre-scheduled telephone conference calls. Register today!
    FREE! Go There Now!


    NEW! Test terminal-based applications with Rational Functional Tester

    Regression testing -- in which code is thoroughly tested to ensure that changes have not produced unexpected results -- is an important part of any development process. But many testing environments neglect the terminal-based applications that still form the backbone of many industries. In this tutorial, you'll learn how the Rational Functional Tester Extension for Terminal-Based Applications works with other Rational Functional Tester to help test terminal-based applications quickly and easily.
    FREE! Go There Now!


    NEW! Trial download: IBM Lotus Forms V3.0

    Get a free trial download of IBM Lotus Forms V3.0 (formerly Workplace Forms), which provides a zero-footprint eForms solution to help you automate and move forms-based business processes off the desktop and onto the Web. With Lotus Forms, you can extend applications beyond the firewall by creating a single electronic form document ready for use in both thick and Web 2.0 thin client format.
    FREE! Go There Now!


    NEW! Trial download: IBM Rational Method Composer V7.2

    Get a free trial download of the latest version of IBM Rational Method Composer V7.2 which helps you deliver customized yet consistent process guidance to your project teams and IT organization, and includes the latest version of IBM Rational Unified Process (RUP), which has provided process guidance to teams since 1996.
    FREE! Go There Now!


    NEW! Whitepaper: Achieving consistency between business process models and operational guides

    Explore how Rational and WebSphere software enable enterprise documentation in SOA environments. Specifically, a new integration between IBM WebSphere® Business Modeler and IBM Rational® Method Composer software can help technical writers more easily keep enterprise operations manuals in sync with changes that are made to business processes, resulting in more accurate and timely documentation that benefits the entire enterprise.
    FREE! Go There Now!



    All FREE IBM® developerWorks Tools!

    ASP CODE ARTICLES

    - ASP Forms
    - ASP: The Beginning
    - Getting Remote Files With ASP Continued
    - Inbox and Outbox Manipulation in ASP
    - Relational DropDownList Using VB.NET
    - Ad Tracking URL Hits
    - Use ViewState to display one record per page...
    - Send Email using ASP.NET formatted in HTML
    - ASP File Explorer
    - ASP/XML Interview questions by Srivatsan Sri...
    - Various methods of setting Date values to a ...
    - Conditional DataGrid Item and using checkbox...
    - Fill .NET Listbox with SQL DataReader
    - Filling Dropdown box using Code-Behinds in C#
    - FLAMES code sample written in .NET What is F...

     
    Application Delivery: Everything You Wanted to Know, but Didn`t Know You Needed to Ask
    A comprehensive guide to examining the topics of Wide-area Data Services and app....

     
    Best Practices: Safe and Secure Hardware Asset Recovery
    Companies increasingly must meet EPA and local requirements for the disposal of ....

     
    Managing SSL Security in Multi-Server Environments
    Read this white paper to learn how to simplify management of your organization's....

     
    Open Source Security Myths
    Open Source Software (OSS) is computer software whose source code is available t....

     
    Power and Cooling Capacity Management for Data Centers
    This paper describes the principles for achieving power and cooling capacity man....

     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT