Apache-ASP
view release on metacpan or search on metacpan
site/install.html view on Meta::CPAN
<a href=#Regular%20Perlec959bce>Regular Perl Module Install</a>
</font>
</td>
<td valign=top >
<font face="lucida console" size=-1>
<a href=#Win32%20%2F%20Wind0f21256e>Win32 / Windows Install</a>
</font>
</td>
</tr>
<tr>
<td valign=top >
<font face="lucida console" size=-1>
<a href=#Modern%20Linuxee8c6645>Modern Linux Distributions</a>
</font>
</td>
<td valign=top >
<font face="lucida console" size=-1>
<a href=#WinME%20%2F%2098%20%2Fce25d199>WinME / 98 / 95 flock() workaround</a>
</font>
</td>
</tr>
</table>
<hr size=1>
<p>
<p>
<a name=Need%20Help></a>
<font face=verdana><font class=title size=+0 color=#555555><b>Need Help</b></font>
<font face="courier new" size=3><pre>
</pre></font>Often, installing the <a href=http://perl.apache.org><font size=-1 face=verdana><b>mod_perl</b></font></a> part of the Apache server
can be the hardest part. If this is the case for you,
check out the <a href=faq.html><font size=-1 face=verdana><b>FAQ</b></font></a> and SUPPORT sections for further help,
as well as the "Modern Linux Distributions" notes in this section.
<font face="courier new" size=3><pre>
</pre></font>Please also see the mod_perl site at <a href=http://perl.apache.org/>http://perl.apache.org/</a>
which one ought to give a good read before undertaking
a mod_perl project.</font>
<p>
<a name=Download%20andf39a0410></a>
<font face=verdana><font class=title size=+0 color=#555555><b>Download and CPAN Install</b></font>
<font face="courier new" size=3><pre>
</pre></font>You may download the latest Apache::ASP from your nearest CPAN,
and also:
<font face="courier new" size=3><pre>
<a href=http://search.cpan.org/dist/Apache-ASP/>http://search.cpan.org/dist/Apache-ASP/</a>
<a href=http://cpan.org/modules/by-module/Apache/>http://cpan.org/modules/by-module/Apache/</a>
</pre></font>As a Perl developer, you should make yourself familiar with
the CPAN.pm module, and how it may be used to install
Apache::ASP, and other related modules. The easiest way
to install Apache::ASP for the first time from Perl is to
fire up the CPAN shell like:
<font face="courier new" size=3><pre>
shell prompt> perl -MCPAN -e shell
... configure CPAN ...
... then upgrade to latest CPAN ...
cpan> install CPAN
...
cpan> install Bundle::Apache::ASP
</pre></font>Installing the Apache::ASP bundle will automatically install
all the modules Apache::ASP is dependent on as well as
Apache::ASP itself. If you have trouble installing the bundle,
then try installing the necessary modules one at a time:
<font face="courier new" size=3><pre>
cpan> install MLDBM
cpan> install MLDBM::Sync
cpan> install Digest::MD5 *** may not be needed for perl 5.8+ ***
cpan> install Apache::ASP
</pre></font>For extra/optional functionality in Apache::ASP 2.31 or greater, like
support for FormFill, XSLT, or <a href=ssi.html><font size=-1 face=verdana><b>SSI</b></font></a>, you can install this bundle via CPAN:
<font face="courier new" size=3><pre>
cpan> install Bundle::Apache::ASP::Extra
</pre></font>
<p>
<a name=Regular%20Perlec959bce></a>
<font face=verdana><font class=title size=+0 color=#555555><b>Regular Perl Module Install</b></font>
<font face="courier new" size=3><pre>
</pre></font>If not doing the CPAN install, download Apache::ASP and install it using
the make or nmake commands as shown below. Otherwise, just
copy ASP.pm to $PERLLIB/site/Apache
<font face="courier new" size=3><pre>
> perl Makefile.PL
> make
> make test
> make install
* use nmake for win32
</pre></font>Please note that you must first have the Apache Web Server
& <a href=http://perl.apache.org><font size=-1 face=verdana><b>mod_perl</b></font></a> installed before using this module in a web server
environment. The offline mode for building static html at
./cgi/asp-perl may be used with just perl.</font>
<p>
<a name=Modern%20Linuxee8c6645></a>
<font face=verdana><font class=title size=+0 color=#555555><b>Modern Linux Distributions</b></font>
<font face="courier new" size=3><pre>
</pre></font>If you have a modern Linux distribution like CentOS or Ubuntu,
you will likely have the easiest path by using the repository tools to
automatically install <a href=http://perl.apache.org><font size=-1 face=verdana><b>mod_perl</b></font></a> and Apache before installing Apache::ASP via CPAN.
<font face="courier new" size=3><pre>
</pre></font>For example for CentOS, this will install mod_perl into your apache httpd, the latter
likely being installed already by default on your server:
<font face="courier new" size=3><pre>
bash> sudo yum install mod_perl-devel.x86_64
</pre></font>For Ubuntu this would be done like this:
<font face="courier new" size=3><pre>
bash> sudo apt-get install libapache2-mod-perl2
</pre></font>
<p>
<a name=Quick%20Start></a>
<font face=verdana><font class=title size=+0 color=#555555><b>Quick Start</b></font>
<font face="courier new" size=3><pre>
( run in 0.592 second using v1.01-cache-2.11-cpan-6aa56a78535 )