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  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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! Applying lean thinking to the governance of software development

    Effective governance for lean development isn’t about command and control. Instead, the focus is on enabling the right behaviors and practices through collaborative and supportive techniques. Hear from Scott Ambler on how it is far more effective to motivate people to do the right thing than it is to force them to do so. Learn how to form a lightweight, collaboration-based framework that reflects the realities of modern IT organizations.
    FREE! Go There Now!


    NEW! Build Web services with transport-level security using Rational Application Developer V7, Part 1: Build Web services and Web services clients

    Build secure Web services with transport-level security using IBM Rational Application Developer V7 and IBM WebSphere Application Server V6.1. Follow this three-part series for step-by-step instructions about how to develop Web services and clients, configure HTTP basic authentication, and configure HTTP over SSL (HTTPS). This first part of the series walks you through building a Web service for a simple calculator application. You generate and test two different types of Web services clients: a Java Platform, Enterprise Edition (Java EE) client and a stand-alone Java client. You also handle user-defined exceptions in Web services.
    FREE! Go There Now!


    NEW! Hello World: Monitor a simple business process using WebSphere Business Monitor V6.0.2

    This tutorial shows new users of IBM WebSphere Business Monitor Version 6.0.2 how to perform the "Hello World" equivalent for monitoring business process applications. It is intended to help you get familiar with the capabilities of the product.
    FREE! Go There Now!


    NEW! Info 2.0: Harnessing the power of Web 2.0 and Enterprise Mashups

    Listen to this webcast to get an overview of Info 2.0 and a technical demo of how to quickly build an enterprise mashup. IBM's Info 2.0 technology leverages emerging Web 2.0 technologies such as mashups, feeds, AJAX, and JSON in order to simplify assembly of information using feeds and services. Come learn about the technical elements of Info 2.0 including the Feed Generation framework, Mashup Engine, and mashup assembly components. Learn how to pull information from databases, departmental information, and the Web to create mashups critical to your company’s success. We will also discuss best practices to help you get started.
    FREE! Go There Now!


    NEW! Rational Talks to You: Grady Booch on Architecture

    Join this Rational Talks to You teleconference on November 29 at 1:00 pm ET to participate in an interactive discusssion with Grady Booch around architecture and reuse. Get your questions answered!
    FREE! Go There Now!


    NEW! Successful Change and Release Management for .NET

    Join this webcast to discover the key requirements for successful change and release management. Learn how to extend your .NET environment to improve productivity and collaboration, and address core problems afflicting team development. In this webcast, we’ll review typical challenges faced by customers and how to resolve them with the IBM Rational Change and Release Management solution, including Rational ClearCase, Rational ClearQuest and Rational Build Forge. Replay is available for 9 months.
    FREE! Go There Now!


    NEW! Trial download: IBM Rational Performance Tester V7.0.1

    Get a free trial download of the latest version of IBM Rational Performance Tester V7.0.1, a load and performance testing solution for teams concerned about the scalability of their Web-based applications. Combining multiple ease-of-use features with granular detail, Rational Performance Tester simplifies the test-creation, load-generation and data-collection processes that help teams ensure the ability of their applications to accommodate required user loads.
    FREE! Go There Now!


    NEW! Understanding Web application security challenges

    As businesses grow increasingly dependent upon Web applications, these complex entities grow more difficult to secure. Most companies equip their Web sites with firewalls, Secure Sockets Layer (SSL), and network and host security, but the majority of attacks are on applications themselves – and these technologies cannot prevent them. This paper explains what you can do to help protect your organization, and it discusses an approach for improving your organization’s Web application security.
    FREE! Go There Now!


    NEW! Webcast: IBM Rational Build Forge - Beyond the Build

    The discipline of assembling and delivering software is maturing beyond standard developer-centric compile/test software builds. The end-to-end software development lifecycle is emerging as the new focus moves “Beyond the Build.” Join this on demand webcast to learn about methods for streamlining software delivery and key capabilities of the IBM Rational Build Forge framework for automating build and release management in environments of any size.
    FREE! Go There Now!


    NEW! Whitepaper: Delivering SOA solutions: service lifecycle management

    The unprecedented scope of a service-oriented architecture (SOA) initiative brings to the forefront a number of management and governance issues that were sidestepped in the past. The key to a successful SOA implementation is managing and governing activities throughout the entire SOA delivery lifecycle by ensuring that services conform to the needs of all of the business’s stakeholders. Learn how service lifecycle management allows the business to ensure that the process by which services are defined, created, tested, deployed, optimized and retired is manageable, repeatable and auditable.
    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...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek