Hi Per,
--- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote:
> At 00:47 25.03.2002, John Kolvereid wrote:
> >Hi Per,
> >    I get the msg:
> >       'The document contained no data'
> >when I try to load my home.html from my server
> using
> >my browser.  When I comment out the AddModule
> >mod_perl.c
> >then my home page appears.
> 
> Check your error log. It might have interesting
> information in it.

  When I get this msg the error log has the msg:
  [notice] child pid # exit signal Segmentation fault 
       (11)

> 
> 
> >    I am including my httpd for any advise:
> >
> >relevant portions of httpd.conf
> >-------------------------------
> ><IfDefine SSL>
> >LoadModule ssl_module         libexec/libssl.so
> >LoadModule php4_module        libexec/libphp4.so
> >LoadModule webapp_module      libexec/mod_webapp.so
> >LoadModule perl_module        libexec/libperl.so
> ></IfDefine>
> 
> Lots of modules you're loading there. I've heard
> problems with combining 
> PHP and mod_perl before, I don't know if it's fixed
> now, but maybe you 
> should try with only mod_perl loaded to see if that
> fixes your problem: if 
> it does, it's not mod_perl's fault.
> 

  I commented out the PHP Load & Add Modules
  Upon initialization I got the error log msg:
  [notice] Accept mytex: sysvsem (Default: sysvsem)
  and when I tried to load my home page from the      
     browser I got the same error as before

> 
> ><Ifmodule mod_perl.c>
> >   Include conf/mod_perl.conf
> ></Ifmodule>
> ><Perl>
> ></Perl>
> >
> >ClearModuleList
> >#AddModule mod_perl.c
> 
> Maybe this should go before the <Ifmodule>
> directive.. I'm not sure if 
> it'll change anything.
> 

  Not really, except when I commented out the
    AddModule mod_perl.c
  it complained of an 'Invalid command '<Perl>'

> 
> 
> >mod_perl.conf
> >-------------
> >conf/mod_perl.pl
> 
> ?? I think you either forgot to copy something off
> there or but .pl instead 
> of .conf....?
> 

  The missing line is
    PerlRequire conf/mod_perl.pl
  Sorry about that.

> >PerlFreshRestart On
> >
> ><Location /hello/world>
> >   SetHandler  perl-script
> >   PerlHandler Apache::Hello
> ></Location>
> 
> You need PerlModule Apache::Hello before PerlHandler
> Apache::Hello, 
> otherwise Apache::Hello doesn't get loaded.
> 
  I don't understand what you mean here.  Do I have to
reference the file I will be trying to load from the
browser.  I assume it is just like Perl-CGI in the
cgi-bin directory.  Just add a file and address it.

> 
> >Alias /perl/ /home/httpd/perl/
> >PerlModule Apache::Registry
> ><Location /perl>
> >   SetHandler  perl-script
> >   PerlHandler Apache::Registry
> >   PerlSendHeader On
> >   Options ExecCGI
> ></Location>
> 
> This looks good.
> 
> 
> >/home/httpd/perl/hello.pl
> >-------------------------
> >#!/usr/local/perl
> >
> >print "Content-type: text/html\n\n";
> >
> >print <<END;
> ><head>
> ><title>Mod_perl
> ></title>
> ></head>
> >
> ><body>
> ><center>Mod-Perl</center>
> ></body>
> >END
> >
> >Also, when I try to load the page
> /odin/perl/hello.pl
> >(/odin is my server) the page displays as text
> only,
> >not as an html page.
> 
> I don't understand what you mean by /odin... You
> mean you're typing 
> http://odin/perl/... in your browser, or something?
> 
  Odin is the reference, as in the host file, for my
server = or.odin.com

> Maybe you should check your error log, if
> something's wrong it might have 
> an indication.
> 
> -- 
> Per Einar Ellefsen
> [EMAIL PROTECTED]
> 

  Any further insight would be greatly appreciated.  I
am at a loss - obviously.  Thanks.

      John Kolvereid

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

Reply via email to