Today the classmate installed a xampp. To use FTP and MySQL.
But he used ASP to develop Web pages, and then didn't want to install IIS, and asked me to help him out.
Google on the internet, and found that someone abroad has sent a tutorial, but in English. Sort out the experience of your configuration and re-send it.
First of all, you have to xampp on the official Internet download installation XAMPP, the installation process official website has detailed instructions.
After the installation is complete, make sure your xampp is running successfully.
Then go to sourceforge here to download "Mod_aspdotnet" this plugin.
Download complete double-click Install. Directory is the Apache folder of the XAMPP installation directory.
Example: c:/xampp/apache/
Next Open your XAMPP installation directory (with the example of the XAMPP I installed on the C drive)
Open C:/xampp/apache/conf/extra
Locate the httpd-xampp.conf file and open it with a text document. (Please back up before making changes)
Find <ifmodule alias_module></ifmodule> This pair of tags.
Add the following code to the <ifmodule alias_module></ifmodule>
#asp. Net
LoadModule aspdotnet_module "Modules/mod_aspdotnet.so"
AddHandler ASP asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo
<ifmodule mod_aspdotnet.cpp>
Aspnetmount/sampleasp "C:/xampp/asp_docs"
Alias/sampleasp "C:/xampp/asp_docs"
<directory "C:/xampp/asp_docs" >
Options FollowSymLinks execcgi
Order Allow,deny
Allow from all
DirectoryIndex index.htm index.aspx
</Directory>
aliasmatch/aspnet_client/system_web/(/d+) _ (/d+) _ (/d+) _ (/d+)/(. *) "c:/windows/microsoft.net/framework/v$1.$2.$3/ Asp. Netclientfiles/$4 "
<directory "C:/windows/microsoft.net/framework/v*/asp.netclientfiles" >
Options FollowSymLinks
Order Allow,deny
Allow from all
</Directory>
</IfModule>
#asp. Net
Save and exit, and then xampp the installation directory (mine is C:/XAMPP) to create a new folder named Asp_docs (which will be placed here for later release of the website).
Under this folder, create a file named Index.aspx, and add the following code
<%@ page language= "VB"%>
<link rel= "stylesheet" href= "Intro.css" >
<body>
<center>
<form action= "index.aspx" method= "POST" >
Category: <select id= "category" Size=1>
<option>One</option>
<option>Two</option>
<option>Three</option>
</select>
<input type=submit value= "Lookup" >
<p>
<% Dim I as Integer
For I = 0 to 7%>
<font size= "<%=I%>" > Sample ASP. test</font> <br>
<% Next%>
</form>
</center>
</body>
After you save the exit, open Http://localhost/SampleASP to test whether your Apache resolves ASP correctly.
If you succeed, you should be able to see a small-to-large arrangement
Sample ASP. NET TEST
The page of this sentence.
So far, this tutorial is done. Congratulations. Enjoy your xampp.
Reprint: http://blog.csdn.net/nikejaycn/article/details/5086987
Run ASP for XAMPP--let XAMPP support ASP