Thursday, July 5, 2012

Part 3/3 -Running Apache Webserver, PHP, MySQL, Perl, CGI and ASP script without IIS on your Windows Box !!!


Edit the following sections in your Local website(or virtual directory) web.config file in the Microsoft .Net Framework folder. This will allow the .NET to parse asp files also in the same way as the aspx files:
<configuration>
<system.web>
        <compilation>
                <buildproviders>
                        <add extension=".asp" type="System.Web.Compilation.PageBuildProvider">
                </add></buildproviders>
        </compilation>
        <httphandlers>
                <add path="*.asp" type="System.Web.UI.PageHandlerFactory" validate="true" verb="*">
        </add></httphandlers>
</system.web>
</configuration>