Help - Search - Members - Calendar
Full Version: [HOW-TO] ASP under Fedora (Ensim 4.0.0-14 tested)
The Planet Forums > Control Panels > Ensim > Ensim HOWTOs
msimoes
For all those that want to have ASP support under Ensim can use this how-to.

1. Installing Apache:::ASP
perl -MCPAN -e shell

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 config section.


3. Configure

You may use a directive in your httpd(_app).conf Apache configuration file to make Apache::ASP start ticking.

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).

clanscc
Will there be one for RHEL?
msimoes
This is OS independent since its a Perl Module for Apache... I just told the Ensim which I was working with because it has two versions of Apache running (1.3 and 2.0) which made me install a second time to insert and edit both httpd.conf but it will work on any Apache Server.
yakuza
http://www.forumgratis.com/test.asp

mmmh give me




HTTP 500 - Internal server error

mmh can help me ?
msimoes
Has the been inserted into the correct .conf file?

Under Ensim 3.7 and 4.0 there are two httpd servers, you must confirm which has been configured and to give the correct paths under the installation.

Start over and make sure the paths and edits are correct.
xUx
Looks like Apache::ASP won't work because it needs Apache2::RequestRec which comes with mod_perl 2

Did you recompile Apache2 with mod_perl2? It will be great if you share that icon_smile.gif
vividere
Has anyone tried working with Apache:::ASP recently?

I haven't seen any instructions or help with latest Ensime/RHEL?

I have a client who thinks he can't live without ASP...

Thanks,

Lew
Catalyst
The instructions are the same...
vividere
Thanks for the reponse...another guy on here (Lighthouse?) says it is woefully inadequate and the install looks like a bit more than I want to do...

Thanks again!

Lew
Catalyst
http://dag.wieers.com/packages/perl-Apache-ASP/ then follow from step 3.
vividere
Thanks for all the info...from what I read the ASP variants installed on a Linux box only clone and not fully the ASP on a Windows box. Many of the messages I read said these things only had partial functionality. Based on all the warnings about these products I told the client they would be better off hosting on a Windows box instead of my trying to implement something that might not do what the would need it to do.

Appreciate your trouble, perhaps someone else can take advantage of your tips.

Lew
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.