I believe you have actually specified that the pages must be served out of a
directory /asp/ ... irrespective of the .asp suffix.
If you want to drive it by suffixes not directories I suggest you try

AddType text/html .asp
<Files ~ "\.(html|htm|asp)$">
 SetHandler perl-script
 PerlHandler Apache::ASP
</Files>

(remove htm etc if you don't want them parsed by Apache::ASP). This method
is less restrictive in that it allows you to keep binaries etc in the same
directories with confusing Apache::ASP.

This will also handle the scenario where the url from the browser does not
contain the .asp suffix, i.e. the client wants the index page.

Rod
----- Original Message -----
From: "Sophokles Zafeiris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 14, 2000 6:37 PM
Subject: Apache::ASP problem


> I have an Apache server version 1.3.12 installed on a solaris machine.
> I'm trying to make ASP's work. I installed the mod_perl and the
> Apache::ASP and I added in the httpd.conf file the followin directive
>       <Location /asp/>
>        SetHandler perl-script
>        PerlHandler Apache::ASP
>        PerlSetVar Global /tmp
>       </Location>
>
> but the ASP's do not work. Actually the server handles the .asp files as
> if they were text files (I get the source on my browser's window).
>
> Is there something that I could do?
>
> Sofoklis
>
>


Reply via email to