You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Steve Brown <st...@sprintmail.com> on 2004/01/21 04:55:48 UTC

ASP on Virtual Server

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

 

 


Re: ASP on Virtual Server

Posted by Philip Mak <pm...@aaanime.net>.
On Tue, Jan 20, 2004 at 09:55:48PM -0600, Steve Brown wrote:
> I tried to restart Apache and it failed to restart.  I commented out
> the above lines and Apache restarted successfully.

What does the error_log say?

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org