Wouter de Jong wrote:
>
> [I have full support from my hosting company to set this Apache::ASP module
> up]
>
> Apache::ASP version 0.18
> Server : Apache/1.3.11 (Unix) mod_perl/1.21 PHP/3.0.14 mod_frontpage/3.0.4.3
> mod_ssl/2.5.0 OpenSSL/0.9.4
>
> Problem : Error msg --> Undefined subroutine
> &Apache::ASP::Demo::ServerVariables called at (eval 12) line 2.
>
> I know I have to do something with defining the stuff, but the /site/ didn't
> give me much help :((
> Is ServerVariables a 'default' subroutine ???
>
> Another script is also bugging on me :
> http://www.aitsh.nl/dev/test/hangman.asp
>
Congrats, your Apache::ASP installation works! But the
problem is that you are using VBScript... Apache::ASP
supports perl scripting only. For VBScript on unix, try
Chilisoft at http://www.chilisoft.com.
The examples at http://www.aitsh.nl/dev/Apache-ASP-0.18/site/eg/index.html
work great, and I would suggest starting there to begin
getting a feel for how to program in perl + ASP. If perl
is new to you, you'll likely want to get a book on programming
with perl, and I think you will find that is much more powerful
than what VBScript has to offer you.
> Source of files :
>
> http://www.aitsh.nl/dev/test/source.asp?file=hangman.asp
> http://www.aitsh.nl/dev/test/source.asp?file=getenv.asp
>
I saw these, these are coded in VBScript. Check out
http://www.aitsh.nl/dev/Apache-ASP-0.18/site/eg/source.asp?file=server_variables.htm
for an equivalent to the getenv.asp script.
-- Joshua
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051