Re: Apache-Roaming with Netscape-4-72

2001-09-18 Thread Tim Tompkins

.htaccess is the default access file name.   It is possible to change this
using the AccessFileName directive, but you'll very likely break something
as a result.  The recommended solution is to use a different name for your
password file.


Thanks,

Tim Tompkins
--
Programmer
http://www.arttoday.com/
http://www.rebelartist.com/
--
- Original Message - 
From: "Ted Sariyski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 18, 2001 10:12 AM
Subject: Apache-Roaming with Netscape-4-72


Hi,

I apologize if I address my question to a wrong newsgroups. I was trying
to enable mod_perl Roaming user with Apache running on i386/RedHat7.x. I
followed all the steps in order to do so but when run Netscape-4.72 I
get the following in the Apache error log file:

/home/web/roaming/.htaccess: Invalid command 'tsariysk:ZJbPFKHxDasnx',
perhaps mis-spelled or defined by a module not included in the server
configuration

It seems that a perl module is trying to interpret .htaccess instead of
to authenticate. Here is my configuration. I installed
Apache-Roaming-0.1002 and in httpd.conf added the following lines: 

LoadModule perl_module/usr/lib/apache/libperl.so 
AddModule mod_perl.c 

and

PerlModule Apache::Roaming


  
  PerlHandler Apache::Roaming->handler
  PerlTypeHandler Apache::Roaming->handler_type
  AuthType Basic
  AuthName "Roaming User"
  AuthUserFile /home/web/roaming/.htaccess
  require valid-user
  PerlSetVar BaseDir /home/web/roaming


When I restart the server there are no complains. The error pops only
when the client try to connect to the server. I will appreciate any help
to fix what I am missing in my configuration.

Thanks in advance,
Ted





Re: Apache-Roaming with Netscape-4-72

2001-09-19 Thread Ken Williams



Ted Sariyski <[EMAIL PROTECTED]> wrote:
> /home/web/roaming/.htaccess: Invalid command 'tsariysk:ZJbPFKHxDasnx',
> perhaps mis-spelled or defined by a module not included in the server
> configuration

It looks like you've confused the .htaccess and .htpasswd files.


> PerlModule Apache::Roaming
> 
> 
>   
>   PerlHandler Apache::Roaming->handler
>   PerlTypeHandler Apache::Roaming->handler_type
>   AuthType Basic
>   AuthName "Roaming User"
>   AuthUserFile /home/web/roaming/.htaccess
>   require valid-user
>   PerlSetVar BaseDir /home/web/roaming
> 

This is unrelated, but that  block is useless.  You
should get rid of it.