Hi,

since .htaccess authorize files and paths (servlets don't have
physical file/paths), it's not easy to protect them by .htaccess.

But there is a trick: use the <location>-tag
(http://ftp.cs.tu-berlin.de/pub/net/www/apache/docs/mod/core.html#location). 
In the location-tag you can add the aliases and the JServ-MountPoints.
You have to add it to the server-configuration, in the jserv.conf file
(mod_jserv.conf). 

Try this to autorize a zone:
<Location /servlets>
  AuthName "My servletzone"
#note: use full paths here
  AuthUserFile "/www/conf/passwd.apache"
  AuthType Basic
  require valid-user
</Location>
-- 
______________________________________________________________________

Bernhard Heinrich 
mailto:[EMAIL PROTECTED]
______________________________________________________________________


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to