--

Jon,

I already read the FAQ :). Were <directory> blocks purposely turned off in
mod_jserv 1.0 because there was no good place to put the .htaccess files?

The following scenario currently works for us under jserv 0.9.12:

1. The following Alias maps to the physical directory /web.dev/client/jake:
    Alias /client/jake /web.dev/client/jake.

2. In /web.dev/client/jake there is a .htaccess file that restricts access
to specific users.

3. If I want to enable servlets under the /client/jake as "ServletAlias
/client/jake/servlet /web.dev/servlets" the .htaccess file in
/web.dev/client/jake *will* restrict access under /client/jake all the way
down to the servlet even though it does not physically reside underneath
/web.dev/client/jake/servlet.

Basically, if there is a physcial directory that exists above where the
servlets are enabled the .htaccess scenario should work.

Thanks,
Steve

-----Original Message-----
From: jon * [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 07, 1999 2:54 PM
To: Nielsen, Steve
Cc: '[EMAIL PROTECTED]'
Subject: Re: Apache/jserv config. question.


> I can only get Basic authentication to work with Jserv 1.0 using a
> <Location> block. <Directory> blocks do not work. <Directory> blocks used
to
> work with jserv 0.9.12. Is this a bug in the new Jserv 1.0? My hope is
that
> I could have the choice of using either <Location> or <Directory> to
control
> access. Any light you can shed on this would be great.

read the faq. <location> is the way to go. <directory> will not work because
there is no place to put the .htaccess files.

-jon


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to