Loading ...
Sorry, an error occurred while loading the content.

1667Running Demo ASP Problem?

Expand Messages
  • Craig Dayton
    Apr 5, 2004
      I'm just getting up to speed on Apache2 & Apache::ASP (2.57) and I'm still
      getting errors when attempting to run the Bookmarks demo. The /asp/eg
      examples are running correctly, so I believe that I am dealing with an app
      conf issue of some sort.

      First, this is the version of the various components that I am playing with:

      Apache/2.0.49 (Win32) mod_perl/1.99_14 Perl/v5.8.3 Server at LocalHost Port

      When I browse to the URL: http://localhost/asp/demo, I get the following
      error returned.

      Errors Output
      errors compiling global.asa: Can't locate object method "dir_config" via
      "Apache" at E:/Apache2/htdocs/asp/Demo//./global.asa line 15. eval 'E) ||
      die("can\'t create table $DBI::errstr"); ; } $Db->do("select * from
      || die("can\'t do select against bookmarks: $DBI::errstr"); sub
      { $Basename = basename($0); $Title = $Name.\' / \'.$Titles{$Basename};

      Adding either of the statements, use Apache::RequestUtil () or use
      Apache::ServerUtil ()
      To the Global.asa file didn't resolve the issue.

      Any idea on what I'm doing wrong?

      Thanks, Craig


      DirectoryIndex index.asp
      <Files ~ \.asp$>
      SetHandler perl-script
      PerlHandler Apache::ASP
      PerlSetVar Global .
      PerlSetVar GlobalPackage My::Bookmarks
      PerlSetVar StateDir /tmp/asp_apps_bookmarks
      PerlSetVar Debug 2
      PerlSetVar SessionTimeout 15
      PerlSetVar StatScripts 1
      PerlSetVar AllowApplicationState 1
      PerlSetVar AllowSessionState 1

      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    • Show all 3 messages in this topic