Re: Authentication using NIS

2001-05-15 Thread Rod Butcher

I seem to remember having a similar problem with Apache::ASP and index.html
(i.e. the default page) when I accessed the site as http://xyz.com/ until I
replaced Directory... with Files ... to specify pages to be processed by
the handler. Do other pages get processed correctly ? At the time this
seemed to me to be a bug in Apache...
regards
Rod
- Original Message -
From: qazi Ahmed [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 15, 2001 8:36 PM
Subject: Authentication using NIS


 Hi Gurus..
 I have got modperl installed on my system.
 When i check the error_log file, it shows that apache_1.3.19 installed
mod_perl-1.25 installed.
 Now in httpd.conf  i write the


 PerlRequire /../../../../startup.pl
 Directory /guts
 AuthName NISAuthentication
 AuthType Basic
 PerlAuthenHandler  Apache::AuthenNIS
 require valid-user
 /Directory

 When i browse for the index.html present in guts it is not asking for
authentication, and just displaying the page.
 I dont know whether the Apache::AuthenNIS handler is being called or not,
but the server gets started without any errors.

 Any hints
 Thanks and Regards
 Qazi


 _
 Chat with your friends as soon as they come online. Get Rediff Bol at
 http://bol.rediff.com










Re: Authentication using NIS

2001-05-15 Thread G.W. Haywood

Hi there,

On 15 May 2001, qazi Ahmed wrote:

 Now in httpd.conf  i write the 
 
 
 PerlRequire /../../../../startup.pl

That's a strange way to specify a directory...

73,
Ged.




Re: Authentication using NIS

2001-05-15 Thread sterling

On 15 May 2001, qazi Ahmed wrote:

 Hi Gurus..
 I have got modperl installed on my system.
 When i check the error_log file, it shows that apache_1.3.19 installed mod_perl-1.25 
installed.
 Now in httpd.conf  i write the 
 
 
 PerlRequire /../../../../startup.pl
 Directory /guts

do you mean Location /guts? or do you actually have an alias to /guts on
your filesystem, plus the PerlRequire seems a bit whacky (/..?)

sterling



 AuthName NISAuthentication
 AuthType Basic
 PerlAuthenHandler  Apache::AuthenNIS
 require valid-user
 /Directory
 
 When i browse for the index.html present in guts it is not asking for 
authentication, and just displaying the page.
 I dont know whether the Apache::AuthenNIS handler is being called or not, but the 
server gets started without any errors.
 
 Any hints
 Thanks and Regards
 Qazi
 
 
 _
 Chat with your friends as soon as they come online. Get Rediff Bol at
 http://bol.rediff.com