> I'm assuming you are talking about HTTP Basic authentication which is
> handled by Apache and not the JRun web server.
Yes.
> Are you placing .htaccess files in the .war file for your webapp? If
> you are it probably won't work because when the request is sent to the
> Apache web server, it will look in the default document directory first
> for the URL string and if it isn't there it will default to other
> configured proxys (i.e. the JRun app server)and hand off the request to
> them. Any .htaccess files need to be handled by Apache, so if your
> .htaccess files are part of your webapp in JRun they will have 'missed
> the boat' so to speak.
>
> One thing to try (and this is just a big guess) is to create a directory
> structure similar to your webapp under the default document directory in
> Apache (i.e. /usr/local/apache2/htdocs/[webapp-name] and place your
> .htaccess file there. It may have the potential of confusing the
> bejeebies your Apache process and not going to the JRun app server at
> all, so you will just have to try it. (Like I said, I'm only guessing).
>
> Hope that helps, and good luck :-)
Didn't work. Thanks for the suggestion, though.
If HTTP Basic Authentication is not available through Apache, how can I
password-protect my directories?
--
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
