ggincius  wrote:
I want to run Apache::ASP under SpeedyCGI (to run apache without mod_perl). Is this possible? How?

I would try to get the asp-perl script to do this.  It comes with
the installation and is usually installed in /usr/bin/ or /usr/local/bin
depending on where your perl is installed.

The syntax for invoking a normal CGI mode Apache::ASP script is to
have the first line of the script be like:

  #!/usr/local/bin/perl /usr/local/bin/asp-perl

The asp-perl script has its own documentation which you can get
via "perldoc asp-perl"

I would not know how to get this to work with SpeedyCGI however.
This is simply how I would approach it as this is the way to
run ASP under normal CGI.

If you cannot get this to work, there is a way I know that seems to work
but I would not recommend it:

#!/usr/local/bin/speedy -- -t10

use Apache::ASP::CGI;
&Apache::ASP::CGI::do_self(NoState => 1);

__END__

<% print "Hello"; %> World

The do_self() API will execute the contents under __END__ as an
ASP script.  I developed it early on to facilitate writing test
scripts for the distribution.  It is not documented, nor will I
be documenting, so you may use it as an unsupported API that might
change in the future but is unlikely to.  I only mention it
in case things get desperate for you.

Finally, while I know that Apache::ASP works correctly under mod_cgi,
I do not know for sure that it will work correctly under CGI::SpeedyCGI
in that there might be some odd persistence issues that come up, like
with how $Server->RegisterCleanup is handled ( or isn't ) for example.
It may be that we would need to put in specific fixes to make things
work correctly under SpeedyCGI.

Regards,

Josh
																																																																
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to