Apache, PHP, MySQL, ASP.NET, JSP and Perl Solutions for your Web Development and Hosting Needs on Windows.
A Complete Web Development and Hosting Platform for Windows.

Building Apache::ASP 2.57

Building a Web Server, for Windows

Requirements

  • Microsoft Visual C++
    [we will use Visual Studio 98 / VC++ 6.0]
    [Visual Studio .NET will also work with the same instructions]
  • Perl
  • mod_perl
  • Notes:
    • When using the command-line (command-shell) with VC++, always set the Build Environment and update the System PATH to reflect the tools used in the build --> Guide: Working with the Command Shell

Download

Original Instructions

  • ...\Apache-ASP-2.57\README

Our Configuration

  • Base Perl location : C:\www\perl
    [do not install to a directory that contains white spaces]
  • Base Apache2 location : C:\www\Apache2

Setup

A group of Perl modules need to be built and installed prior to the main Apache::ASP build process.

  • Download and unpack the following modules...
  • In the order above, from the source directory of each module, build and install each module...
    [read file README in each module dir for the official instructions]
    • ...\module> perl Makefile.PL
    • ...\module> nmake
    • ...\module> nmake test
    • ...\module> nmake install

Main Build Instructions

  • cd /d C:\build\Apache-ASP-2.57
  • > perl Makefile.PL
  • > nmake
  • > nmake test
  • > nmake install

Apache2 Setup for Apache::ASP

  • Edit \www\Apache2\conf\httpd.conf

    PerlModule Apache::ASP
    <Files ~ (\.asp)>
       SetHandler perl-script
       PerlHandler Apache::ASP
       PerlSetVar Global .
       PerlSetVar StateDir C:/tmp/asp
    </Files>

  • Add index.asp to the DirectoryIndex field of httpd.conf
  • Create directory C:\tmp
    [Apache::ASP will not work without this dir]

Testing Apache::ASP

This will create an example ASP file, hello.asp

  • Create hello.asp in your webroot (DocumentRoot) directory

    <html>
    <head>
    <title>
    </title>
    </head>
    <body>
    <%
       $Response->Write("Congratulations, you have successfully installed Apache::ASP");
    %>
    </body>
    </html>

  • Access http://localhost/hello.asp
In the Spotlight

In the Spotlight

Developing and Hosting PHP+MySQL based websites and applications has never been simpler. The Web.Developer Server Suite provides a Platform & Framework on which to create standards-based CSS, XSLT, and XHTML sites running on PHP and MySQL. Save your time, focusing on core business. Reduce complexity and maximize your productivity.

Developers

Developers++

The Web.Developer Server Suite is more than just a Windows based Apache|PHP|MySQL Platform. Suitable for novices and professionals alike, a complete Hosting Solution is provided that is capable of creating and deploying websites and web applications both locally and on the internet. Create, test, publish and maintain your websites in-house, on your own server, where you are in full control.

Newsletter Signup

Newsletter Signup

Enter your e-mail address: