I am trying to invoke a handler script. I have set the location tag in
httpd.conf
I dont know where to place the script so that Apachi picks it up at
run-time.

when I do GET http://myserver/soap

I get:

<HTML>
<HEAD><TITLE>An Error Occurred</TITLE></HEAD>
<BODY>
<H1>An Error Occurred</h1>
405 Method Not Allowed
</BODY>
</HTML>

Thanks

Riz

----- Original Message -----
From: "Andrew Afliatunov" <[EMAIL PROTECTED]>
To: "Carlos Ramirez" <[EMAIL PROTECTED]>
Cc: "Carlos Ramirez" <[EMAIL PROTECTED]>; "Stathy G. Touloumis"
<[EMAIL PROTECTED]>; "Mod_perl" <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 11:45 AM
Subject: Re: [Samba authorization]


> Hi!
>
> > Write a test script using Authen::Smb and run it from the commandline.
> > You can copy-paste the synopsis portion of the Authen::Smb documentation
> > (i.e. perldoc Authen::Smb).
> >
> > If (you can connect and and authenticate from the commandline) {
> >    the problem resides in your mod_perl installation,
> >    # either an @INC problem, or re-install mod_perl.
> > }
>
> Yes! I can connect and and authenticate from the command line. I don't
think that
> authenticatuion doesn'work in apache because of the @INC problem, because
'httpd -t'
> doesn't complain on it. It just says
> --
> Syntax error on line 346 of /usr/local/apache/conf/httpd.conf:
> Can't load
'/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Authen/Smb/Smb.so'
> for module Authen::Smb: ld.so.1: /usr/local/apache/bin/httpd: fatal:
relocation error:
> file
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Authen/Smb/Smb.so:
symbol
> main: referenced symbol not found at
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
>  at /usr/local/lib/perl5/site_perl/5.6.1/Apache/AuthenSmb.pm line 5
> Compilation failed in require at
> /usr/local/lib/perl5/site_perl/5.6.1/Apache/AuthenSmb.pm line 5.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/site_perl/5.6.1/Apache/AuthenSmb.pm line 5.
> Compilation failed in require at (eval 3) line 3.
> --
> (Line 346 of httpd.conf contains 'PerlModule Apache::AuthenSmb')
>
> So, I probably have wrong mod_perl installation. But reinstalling it did
not help. I
> used these options:
> --
> perl Makefile.PL \
> APACHE_SRC=/u01/soft/apache_1.3.22rusPL30.9 \
> DO_HTTPD=1 \
> USE_APACI=1 \
> PREP_HTTPD=1 \
> EVERYTHING=1
> --
>
> Looking in different docs I could't find other options that might help.
Maybe you
> suggest ones?
>
> --
> Andrew.
>
>

Reply via email to