1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
If you are looking to try out Apache::ASP by using the files in
/usr/share/doc/libapache-asp-perl/examples, remember to uncompress all
the files once you've copied them to your ~/public_html/ directory (or
wherever you decide to put them).
This package can also be run in stand-alone mode. Use the following to make that possible:
In .htaccess:
Options ExecCGI
AddType application/x-asp-perl .asp
Action application/x-asp-perl /cgi-bin/asp-perl
In /cgi-bin/asp-perl file:
#!/bin/sh
exec /usr/bin/asp-perl "$PATH_TRANSLATED"
Thanks to Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl> for this.
-- Stephen Zander <gibreel@debian.org>, Mon Mar 15 20:49:31 2004
If you get a syntax error that Action is an invalid command the problem is
that the default httpd.conf doesn't load mod_actions. Loading that fixes the
problem.
Thanks to Nigel Horne for the pointer.
-- gregor herrmann <gregoa@debian.org> Sun, 13 Feb 2011 19:22:09 +0100
|