I have been trying to get Apache ASP installed for a couple weeks on a RedHat Virtual server at GlobalServers.com.

 

Today they rebuild my virtual server and I started over.

 

I did the following from http://www.apache-asp.org/install.html

shell prompt> perl -MCPAN -e shell
  ... configure CPAN ...
  ... then upgrade to latest CPAN ...
 cpan> install CPAN
  ...
 cpan> install Bundle::Apache::ASP

 

This installed cpan, perl 5.8.3 and Apache ASP.

 

After this appeared to be successful, I entered these lines into the /etc/httpd/conf/httpd.conf file per http://www.apache-asp.org/config.html

PerlModule  Apache::ASP
 <Files ~ (\.asp)>    
   SetHandler  perl-script
   PerlHandler Apache::ASP
   PerlSetVar  Global /home/webadmin/ptoc.org/register
   PerlSetVar  StateDir /tmp/asp
 </Files>

 

I tried to restart Apache and it failed to restart.  I commented out the above lines and Apache restarted successfully.

 

Suggestions please.

 

Steve Brown

 

 

Reply via email to