1. Installing Apache:::ASP
And follow the onscreen instructions, but be aware for CPAN.pm module configuration. If you're not a Perl developer use the Automatic configuration (first option).
cpan> install CPAN
# this will install the CPAN module needed to run Apache:::ASP. Be aware of any comments and install any onDemand packages (it will appear similiar to install Bundle:::Module .
cpan> install Bundle::Apache::ASP
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:
cpan> install MLDBM
cpan> install MLDBM::Sync
cpan> install Digest::MD5 *** may not be needed for perl 5.8+ ***
cpan> install Apache::ASP
For extra/optional functionality in Apache::ASP 2.31 or greater, like support for FormFill, XSLT, or SSI, you can install this bundle via CPAN:
cpan> install Bundle::Apache::ASP::Extra
NOTE: on testing options insert:
- For Apache 1.3
> httpd executable: /usr/sbin/httpd13
> asssumue module dependencies as [yes]
> http.conf path: /etc/httpd/conf/httpd_app.conf
> user for testing: nobody
> group for testing: nobody
> port: 80
- For Apache 2.0
> httpd executable: /usr/sbin/httpd
> asssumue module dependencies as [yes]
> http.conf path: /etc/httpd/conf/httpd.conf
> user for testing: nobody
> group for testing: nobody
> port: [check your /etc/httpd/conf/httpd.conf file for Port option]
2. Build Apache and mod_perl
Once you have successfully built the Apache Web Server with mod_perl, you must put "AllowOverride All" in your httpd(_app).conf
3. Configure
You may use a
PerlModule Apache::ASP
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
Configure the if you want, the defaults are fine to get started.optional settings
4. End configuration
After making all this steps just restart your httpd server and try the Apache:::ASP by using some file with this content:
For loop incrementing font size:
<% for(1..5) { %>
Size = <%=$_%>
<% } %>
Just remember to name it like filename.asp
5. ATTETION
Please remember that we do not assume that Ensim will/can be upgrade after this settings without erros and was only tested under Ensim 4.0.0-14 (Ignite).