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! Driving Business Success with Rational Process Library

    Join this webcast, to learn how the Rational Process Library can help with compliance issues, drive process improvement, and assist in service-oriented architecture (SOA) or Agile development. We will take a peek into the Rational Process Library with content around software and systems engineering (including RUP), operations and systems management, program and portfolio management, and asset and SOA governance.
    FREE! Go There Now!


    NEW! Cook up Web sites fast with CakePHP, Part 4: Use CakePHP&apos;s Session and Request Handler components

    CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP.
    FREE! Go There Now!


    NEW! Evaluate Rational Host Access Transformation Services (HATS) Toolkit V7.1

    Visit IBM developerWorks to download a free trial of the Rational Host Access Transformation Services (HATS) Toolkit. The HATS toolkit provides a set of plug-ins for the IBM Rational Software Delivery Platform to help you easily extend your legacy applications. HATS makes your 3270 and 5250 applications available as HTML through the most popular Web browsers, while converting your host screens to a Web look and feel and it also enables you to develop new Web, portal, and rich-client applications.
    FREE! Go There Now!


    NEW! IBM Rational ClearCase Innovator's Series

    Learn from the best! Find out how developers use Rational ClearCase to be more flexible, innovative and deliver higher quality code in the Rational ClearCase Power Users eKit. This complimentary eKit provides a collection of materials, like articles, whitepapers, and demos that can help you become a power user of Rational ClearCase.
    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: Accelerating Software Innovation with System z

    Attend this launch webcast with Scott Hebner, Vice President of IBM Rational Marketing and Strategy, where he will overview Rational’s new offerings and programs to help customers accelerate software innovation on System z. He will discuss how these solutions help organizations extend their core business processes toward modern architectures such as SOA and web technologies to deliver business improvements that stand the test of time.
    FREE! Go There Now!


    NEW! Webcast: Application security testing and Web compliance

    Join the IBM Watchfire team for an informative discussion on techniques and best practices to proactively manage Web application security and how to effectively build application security testing into the software development lifecycle (SDLC). In this Software Delivery Platform webcast you will learn: How to better understand potential web application security vulnerabilities, best practices and how to effectively integrate application security testing into the software development lifecycle, the importance of detecting and removing software vulnerabilities during application development.
    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! Webcast: Introducing the new Information Server and Solutions community: LeverageInformation

    User communities play an important role in communication and collaboration around products, solutions and other areas of special interest to members. Successful communities are able to provide the right mix of content and services to deliver a value proposition that resonates with each audience. Join Tom Inman, VP of Marketing for Information and Platform Solutions as he introduces the new LeverageINFORMATION community. During this webcast, learn about the value provided by the community and how customers and partners derive value from the community in addressing their own technical and business challenges.
    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...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT