• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

can you configure apache to understand asp

can you setup apache to process asp files and how
0
jcw20
Asked:
jcw20
1 Solution
 
rama_krishna580Commented:
Hi,

http://www.apache-asp.org/config.html
You may use a <Files ...> directive in your httpd.conf Apache configuration file to make Apache::ASP start ticking. Configure the optional settings if you want, the defaults are fine to get started. The settings are documented below. Make sure Global is set to where your web applications global.asa is if you have one!
 PerlModule  Apache::ASP
 <Files ~ (\.asp)>    
   SetHandler  perl-script
   PerlHandler Apache::ASP
   PerlSetVar  Global .
   PerlSetVar  StateDir /tmp/asp
 </Files>

NOTE: do not use this for the examples in ./site/eg. To get the examples working, check out the Quick Start section of INSTALL

You may use other Apache configuration tags like <Directory>, <Location>, and <VirtualHost>, to separately define ASP configurations, but using the <Files> tag is natural for ASP application building because it lends itself naturally to mixed media per directory. For building many separate ASP sites, you might want to use separate .htaccess files, or <Files> tags in <VirtualHost> sections, the latter being better for performance.

R.K
0
 
jcw20Author Commented:
is it already there in the config or do i need to put it there
0
 
ahoffmannCommented:
>  is it already there in the config or do i need to put it there
hmm, I guess you need to answer yourself
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now