[Zope] Installation on Solaris
Kevin Dangoor
kid@ans.net
Mon, 15 Feb 1999 15:54:08 -0500
The file docs/WEBSERVER.txt (in your Zope directory) or
http://www.zope.org/Download/Installation/WebServer contains information
about getting Apache to do authentication.
Here is the relevant part:
[--included text--]
Tricking Apache to pass authentication headers
If you are using Apache you will need to trick Apache into passing
authentication headers to Zope. The easiest way to do this with Apache 1.3
and above is to use mod_rewrite. Here is an example of configuration
information which you would place in an Apache conf file:
# Zope configuration maps /Zope/ to the Zope.cgi CGI script
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^/Zope/(.*) /usr/local/apache/cgi-bin/Zope.cgi/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
Note that the RewriteRule should be one long line, and that the last character is the letter l, not the number 1.
[--end included text--]
The above is relevant if you are putting the RewriteRule in the Apache
server config. If you're putting it in .htaccess, the easiest thing
to try (assuming the script is called Zope.cgi and is in the same
directory as the .htaccess file) is:
RewriteRule ^Zope.cgi/(.*) - [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
Also, make sure that there is a username and password configured in the
"access" file in the Zope directory.
Hope this helps!
Kevin
On Mon, Feb 15, 1999 at 02:19:51PM -0600, nexusweb wrote:
,-----
| We have installed Zope but can't get it to authenticate. We have placed it
| in Dick's account so he can play around with it and try and get it working.
| We really want to offer this to NexusWeb clients but are at a wall and
| beyond what we know how to do.
| You can email Jason directly at jason@pwebtech.com he takes care of all of
| our server upgrades and additions.
| Tam
| NexusWeb Hosting and Design
| http://www.nexusweb.net
|
| ----------
| > From: Jeff Bauer <jbauer@rubic.com>
| > To: dickw@tkb.att.ne.jp
| > Cc: webmaster@nexusweb.net; zope@zope.org
| > Subject: Re: [Zope] Installation on Solaris
| > Date: Friday, February 12, 1999 9:11 PM
| >
| > > I've helped convince the people at nexusweb to become a Zope ISP.
| > > They're pretty friendly in responding to me, most ISPs that I talked
| > > with flatly refused to have anything to do with Zope.
| > > But it looks like they're having problems getting it up and running on
| > > a Solaris machine.
| > > Any pointers someone can pass their way in the installation?
| >
| > > Not exactly sure what the problem is.
| >
| > Dick,
| >
| > Please provide more information, or have your ISP send
| > a problem description directly to the list. Zope runs
| > fine on Sun Solaris.
| >
| > Regards,
| >
| > Jeff Bauer
| > Rubicon, Inc.
| > `-----
--
Kevin Dangoor
UUnet Technologies
kid@ans.net / 734-214-7349