Enable WAMP to support ASP

Source: Internet
Author: User

[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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.