httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <...@bourse.ch>
Subject Re: I see the ASP script instead of the page
Date Wed, 24 Apr 2002 09:21:50 GMT
Giannis Giakas wrote:
> 
> Thanks Owen
> 
> You are talking to a non specialist :-(. Yes, the ASP is based on
> Vbscript.
> 
> Say that I am using the APACHE-ASP which I downloaded and placed in c:\
> (c:\perl)
> 
> What is the script I need to enter in the httpd.conf ?

We'll assume you have installed ASP.pm into your perl distribution...
AND... that you have mod_perl installed (if you haven't - you need to
find a binary, check: http://perl.apache.org/distributions.html)

The simplest way (IMHO) is to use this:

  # General server-wide ASP enable
  <Files *.asp>
    SetHandler  perl-script
    PerlModule  Apache::ASP
    PerlHandler Apache::ASP
    PerlSetVar  Global .
    PerlSetVar  StateDir /tmp/asp
  </Files>

Now every file called anything.asp will be passed to the ASP handler and
parsed before being served. Full instructions at:
http://www.apache-asp.org/

A word of caution - apache ASP is based on the Perl programming language
and is heavily object-oriented. It will require a certain effort to
learn how to use it if you are not a programmer (this is way more than
building HTML pages...)

Rgds,

Owen Boyle.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message