On Tue, Feb 26, 2002 at 07:09:46PM -0600, Ian Bicking wrote:
> There's some discussion in Zope about this... if you look at information
> about using Zope on a commercial host it'll discuss this, but I think
> the standard installation notes also discuss it.
> 
> If Apache has the authorization information then you can get it from an
> environment variable (HTTP_USER or something).  Otherwise you have to do
> configure something in Apache to allow CGI scripts to do authentication.

RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/(.*) /usr/lib/cgi-bin/Zope.cgi/M/$1 [e=HTTP_CGI_AUTHORIZATION:%1, 
t=application/x-httpd-cgi,l]

(The second and third lines are really one long line.)

-- 
-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