Apache-ASP
view release on metacpan or search on metacpan
site/install.html view on Meta::CPAN
do a raw directory copy as in:
<font face="courier new" size=3><pre>
shell> cp -rpd ./site $DOCUMENT_ROOT/asp
</pre></font>So you could then reference the Apache::ASP docs at /asp/ at your site,
and the examples at /asp/eg/ .
<font face="courier new" size=3><pre>
</pre></font>This is not a good production configuration, because it is insecure
with the FollowSymLinks, and tells Apache to look for .htaccess
which is bad for performance but it should be handy for getting
started with development.
<font face="courier new" size=3><pre>
</pre></font>You will know that Apache::ASP is working normally if you
can run the scripts in ./site/eg/ without any errors. Common
problems can be found in the <a href=faq.html><font size=-1 face=verdana><b>FAQ</b></font></a> section.</font>
<p>
<a name=Build%20static4ba3b0e9></a>
<font face=verdana><font class=title size=+0 color=#555555><b>Build static Apache and mod_perl for Apache 1.3.x</b></font>
<font face="courier new" size=3><pre>
</pre></font>For a quick build of apache, there is a script in the distribution at
./make_httpd/build_httpds.sh that can compile a statically linked
Apache with mod_ssl and <a href=http://perl.apache.org><font size=-1 face=verdana><b>mod_perl</b></font></a>. Just drop the sources into the
make_httpd directory, configure the environments as appropriate,
and execute the script like this:
<font face="courier new" size=3><pre>
make_httpd> ./build_httpds.sh
</pre></font>You might also find helpful a couple items:
<font face="courier new" size=3><pre>
<a href="http://perl.apache.org/guide/install.html">Stas's mod_perl guide install section</a>
<a href="http://www.apachetoolbox.com/">Apache Toolbox</a>
</pre></font>People have been using Apache Toolbox to automate their
complex builds of Apache 1.3.x with great success.</font>
<p>
<a name=Win32%20%2F%20Wind0f21256e></a>
<font face=verdana><font class=title size=+0 color=#555555><b>Win32 / Windows Install</b></font>
<font face="courier new" size=3><pre>
</pre></font>If you are on a Win32 platform, like WinNT or Windows 2000,
you can download the win32 binaries linked to from:
<font face="courier new" size=3><pre>
<a href=http://perl.apache.org/download/binaries.html#Win32>http://perl.apache.org/download/binaries.html#Win32</a>
</pre></font>and install the latest perl-win32-bin-*.exe file.
<font face="courier new" size=3><pre>
</pre></font>Randy Kobes has graciously provided these, which include
compiled versions perl, <a href=http://perl.apache.org><font size=-1 face=verdana><b>mod_perl</b></font></a>, apache, mod_ssl,
as well as all the modules required by Apache::ASP
and Apache::ASP itself.
<font face="courier new" size=3><pre>
</pre></font>After installing this distribution, in Apache2\conf\perl.conf
(pulled in via Apache2\conf\httpd.conf) there's directives that
have Apache::ASP handle files placed under the Apache2\asp\
directory. There should be a sample Apache::ASP script there,
printenv.html, accessed as <a href=http://127.0.0.1/asp/printenv.html>http://127.0.0.1/asp/printenv.html</a>
which, if working, will print out your environment variables.</font>
<p>
<a name=WinME%20%2F%2098%20%2Fce25d199></a>
<font face=verdana><font class=title size=+0 color=#555555><b>WinME / 98 / 95 flock() workaround</b></font>
<font face="courier new" size=3><pre>
</pre></font>For those on desktop Windows operation systems, Apache::ASP v2.25 and
later needs a special work around for the lack of flock() support
on these systems. Please add this to your Apache httpd.conf to
fix this problem after <a href=http://perl.apache.org><font size=-1 face=verdana><b>mod_perl</b></font></a> is installed:
<font face="courier new" size=3><pre>
<Perl>
*CORE::GLOBAL::flock = sub { 1 };
</Perl>
PerlModule Apache::ASP
</pre></font>Please be sure to add this configuration before Apache::ASP is loaded
via PerlModule, or a PerlRequire statement.</font>
</font>
</td>
<td bgcolor=white valign=top>
</td>
</tr>
</table>
</td></tr>
</table>
</center>
</body>
</html>
( run in 0.857 second using v1.01-cache-2.11-cpan-39bf76dae61 )