Jump to content

Apache-ASP


Guest bridge99
 Share

Recommended Posts

Guest bridge99

I have installed the mod_perl and apache-asp

when i run the asp scripts all i get is the script showing as the code.

i changed the default HTTP to the apache asp folder

what can i do to fix this problem

Link to comment
Share on other sites

Check out this page:

 

http://cern91.tuxfamily.org/linux/indexnet...p4?page=asp#ss4

 

It's in French, but you'll see the example configuration files in yellow and they are in English...you have to set the Handler for *.asp files like this:

 

# Si le module Perl est operationnel :

<IfModule mod_perl.c>

 Alias /perl/ /home/httpd/perl/

 <Location /perl>

   SetHandler perl-script

   PerlHandler Apache::Registry

   Options +ExecCGI

 </Location>

</IfModule>



# Module Perl Apache::ASP

<Files *.asp>

  SetHandler perl-script

  PerlHandler Apache::ASP

  PerlSetVar Filter Off

#  PerlSetVar Debug 1

 PerlSetVar Debug 2

#  Options +ExecCGI

 PerlSetVar MailAlertTo root@localhost

 PerlSetVar MailErrorsTo root@localhost

 PerlSetVar Global /tmp/asp

</Files>

 

Make sense?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...