[Preface]
Thanks to the existence of Wamp, it has been a few minutes to build the PHP environment.
But what should I do with ASP?
[Preparations]
Download ASP components: Click to download without points
At this point, you have installed Wamp by default. Wamp is a software for quickly setting up the PHP environment. If you are interested, click to download it.
[1, write the httpd-ahtml.conf file, put in: \ apache \ conf \ extra]
######################################## ########## Uncomment the following lines if you want # to use Authorization environment-variables # You may implement you own user # authentication using LOGON_USER and # LOGON_PASSWORD in your scripts (Login. asp) ######################################## ########## LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine On RewriteCond % {HTTP: authoriza Tion} ^ (. *) $ [NC] RewriteRule /. *-[E = HTTP_AUTHORIZATION: % 1] ###################################### ############# Supports Imagemaps AddHandler imap-file map ################### ################################ Do not allow access to global. asa ####################################### ########## <files ~ "Global. asa "> Order allow, deny Deny from all Satisfy All </files> ############################## #################### Add ActiveHTML-Handler Where "D: "/wamp/bin/ActiveHTML" is the directory released by ActiveHTML, which must be modified by yourself. ######################################## ########## ScriptAlias/asp_bin "D: /wamp/bin/ActiveHTML "Action ActiveHTML"/asp_bin/AHTML.exe "AddHandler ActiveHTML. asp DirectoryIndex index. asp default. asp ####################################### ########### Add Sampledirectory Alias Where "D: /wamp/www/asp/"is the directory where the asp file is located. Modify the directory by yourself. ######################################## ######### <Directory "D: /wamp/bin/ActiveHTML "> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow, deny Allow from all </directory> Alias/asp/" D: /wamp/www/asp/"<directory" D:/wamp/www/asp/"> Options Indexes MultiViews FollowSymLinks AllowOverride all Order allow, deny Allow from all </directory>
2. Install activehtml to D: \ Wamp \ bin \ activehtml, and click "register. Bat "]
This activehtml is the ASP Component downloaded above.
Change the path here.
Add: Include CONF/extra/httpd-ahtml.conf in httpd. conf]
Restart.