You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Linux <gc...@tiscalinet.it> on 2000/09/29 10:03:36 UTC

PROBLEMITH APACHE::ASP

Hi all.

I'm trying to install APACHE::ASP into my Linux box.
I have a RedHat 6.0 + apache 1.3.12 + MOD_PERL .
Looking into the documentation at www.apache-asp.org, i compiled the mod_perl
as a static module, i compiled APACHE::ASP and added ASP.pm to
$PERRLLIB/SITE/APACHE.
In my httpd.conf i added this rules:


<Location /home/httpd/html/ASP>
      SetHandler perl-script
      PerlHandler Apache::ASP
      PerlSetVar Global /tmp
</Location>
 
<Files ~ (\.asp)>
        SetHandler perl-script
        PerlHandler Apache::ASP
        PerlSetVar CookiePath  /
        PerlSetVar SessionTimeout  .25
#       PerlSetVar StateSerializer Storable
#       PerlSetVar StateDB DB_File
#       PerlSetVar StatScripts 0
        PerlSetVar XMLSubsMatch my:\w+
</Files>     



My .asp files are all in /home/httpd/html/ASP.
I restarted apache and trying to load an ASP page, the server give me an error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@xxxxxx.xx and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.


No error are reported to error.log !!!!!


Help me!
Thanks.

More information about this error may be available in the server error log.

Re: PROBLEMITH APACHE::ASP

Posted by Joshua Chamas <jo...@chamas.com>.
Make sure you have found the right error log.
Also look for hints in the access log.  Apache::ASP
itself won't error without throwing something to 
the error log.  If the .asp files are in question,
make sure you can request other files from your
web server so you know that's working.

--Joshua

Linux wrote:
> 
> Hi all.
> 
> I'm trying to install APACHE::ASP into my Linux box.
> I have a RedHat 6.0 + apache 1.3.12 + MOD_PERL .
> Looking into the documentation at www.apache-asp.org, i compiled the mod_perl
> as a static module, i compiled APACHE::ASP and added ASP.pm to
> $PERRLLIB/SITE/APACHE.
> In my httpd.conf i added this rules:
> 
> <Location /home/httpd/html/ASP>
>       SetHandler perl-script
>       PerlHandler Apache::ASP
>       PerlSetVar Global /tmp
> </Location>
> 
> <Files ~ (\.asp)>
>         SetHandler perl-script
>         PerlHandler Apache::ASP
>         PerlSetVar CookiePath  /
>         PerlSetVar SessionTimeout  .25
> #       PerlSetVar StateSerializer Storable
> #       PerlSetVar StateDB DB_File
> #       PerlSetVar StatScripts 0
>         PerlSetVar XMLSubsMatch my:\w+
> </Files>
> 
> My .asp files are all in /home/httpd/html/ASP.
> I restarted apache and trying to load an ASP page, the server give me an error:
> 
> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was unable to complete your request.
> 
> Please contact the server administrator, webmaster@xxxxxx.xx and inform them of
> the time the error occurred, and anything you might have done that may have
> caused the error.
> 
> No error are reported to error.log !!!!!
> 
> Help me!
> Thanks.
> 
> More information about this error may be available in the server error log.