On Fri, Mar 01, 2002 at 01:46:09AM +0100, Magnus Lie Hetland wrote:
> Ian Bicking <[EMAIL PROTECTED]>:
> [...]
> > > (Otherwise, mod_auth_pgsql sounds like a very good alternative.)
> > 
> > Debian has packages for all the major auth modules -- even a lesser
> > distribution like RedHat
> 
> <cough, cough>
> 
> > probably has the same ;)  So it's pretty easy.
> 
> Yeah, I found an RPM (for the "lesser" RedHat package manager ;)
> 
> But now I'm just trying to turn on basic authentication via Apache
> (without using WebKit for the task), but that seems tricky, since as
> far as I can tell, that can only be done in a .htaccess file or a
> Directory directive, both of which seem to be ignored when using
> WebKit, since I'm not accessing the files "through Apache" anymore.
> (Of course, I can add protection to the WebKit cgi script itself, but
> that would be excessive, as would it be to add a separate cgi script
> for the protected directory/ies.)
> 
> Isn't there a way to make Apache trigger its authentication *before*
> rewriting and forwarding the request (i.e. adding a Require directive
> to a URL, rather than an absolute path)?

Try <Location> instead of <Directory>.  <Location> works by URL rather
than directory.  I know Allow/Deny + mod_rewrite + mod+webkit all inside
a <Location> work, so there must be a way to get basic authentication to
work too.

If you can post or send me the portion of your httpd.conf that does
the webkit and the rewrites, or the entire virtual host, perhaps we
can figure something out.

I think you can also change the order of the LoadModule and/or
AddModule directives to control which order they are applied to
the request.

-- 
-Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
   http://iron.cx/     English * Esperanto * Russkiy * Deutsch * Espan~ol

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to