[Zope] newbie questions about zope with apache

jeffr@odeon.net jeffr@odeon.net
Wed, 5 Jan 2000 15:51:09 -0600 (CST)


	Greetings all,

	I'm having problems getting zope running with Apache.

	I've got mod_rewrite compiled into apache (confirmed with
	httpd -l).

	The ZServer daemon is running, and I can connect to it at
	www.odeon.net/cgi-bin/Zope.cgi

	The QuickStart material linked from the above location all 
	works fine.

	When I try to go to www.odeon.net/cgi-bin/Zope.cgi/manage
	it pops up the username/password box.

	After entering the username and password as defined in the
	zope/access file I get a message that says Unauthorized.

	The URL appears correct, and the information being passed
	to Zope is correct.

	The following is being logged in zope.log:

	127.0.0.1:- - [05/Jan/2000:21:18:03 -0500] "GET Zope/manage" 1775


	System information is as follows:

		RedHat linux version 6.0
		Kernel version 2.2.13
		Apache version 1.3.9


	I suspect the problem is in the rewrite rules:

RewriteEngine on
RewriteRule ^/static/(.*)   /home/httpd/html/$1 [l]
RewriteRule ^/cgi-bin/(.*)  /home/httpd/cgi-bin/$1 
	[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/(.*) /home/httpd/cgi-bin/Zope/$1 
	[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]


	Any help would be greatly appreciated,

	Jeff Robertson
	jeffr@odeon.net