perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Brown <st...@sprintmail.com>
Subject Re: ASP on Virtual Server
Date Wed, 21 Jan 2004 13:58:15 GMT
I moved my ASP stuff in the httpd.conf file to the VirtualHost Section and now Apache comes
up.

<VirtualHost _default_:443>

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

</VirtualHost>

When I try to hit http://ptoc.org/register/test.asp (My Hello World ASP), it hangs for a long
time and gives me a 500 internal server error.  Still nothing in my error_log.

My test.asp follows:
<%@ LANGUAGE=PerlScript %>

<HTML>
<HEAD>
<TITLE>Hello World</TITLE>
</HEAD>
<BODY>
<%
        my $abz = "This is a test";
%>
<H2>Hello world!</H2>
<%
        $Response->Write( "HelloWorld - $abz <BR>\n" );
%>
</BODY>
</HTML>


-----Original Message-----
From: Philip Mak <pmak@aaanime.net>
Sent: Jan 20, 2004 10:59 PM
To: Steve Brown <steve@sprintmail.com>
Cc: asp@perl.apache.org
Subject: Re: ASP on Virtual Server

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



Steve Brown

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


Mime
View raw message