Hello, I've "finally" got ZOPE up and running, but I still have one small(?) problem. Details: on apache redhat 4.2 linux Python 1.5.1 (#1, Aug 17 1999, 09:42:48) [GCC 2.7.2.1] Apache/1.3.6 (Unix) At the end of my httpd.conf i have: --------------------------------------------------- <Location /Zope/> AuthType Basic AuthName Zope-realm AuthUserFile /etc/httpd/users require valid-user </Location> RewriteEngine On RewriteLog /new/usr/apache/logs/rewrite_log #RewriteLogLevel 9 RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/Zope/(.*) /home/httpd/cgi-bin/Zope.cgi/$1 \ [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] --------------------------------------------------- and most of it works.... I can get the Zope front screen to go... I can open the manage page, I can add users, I can edit current documents, and it serves them fine... but ... I can't add pages... I can't add anything... When I press the add button no matter what I try to add, and no matter where I try to add it I get the HTTP 500 Internal server error page. The button seems to want the document: http://linus/Zope/.?%3Amethod=manage_addDTMLDocumentForm but I think somewhere the "." before the "?" disapears and it says it cant find: http://linus/Zope/?%3Amethod=manage_addDTMLDocumentForm The access_log says 203.32.226.34 - superuser [30/Aug/1999:16:42:48 +1000] "GET /Zope/?%3Amethod=man age_addDTMLDocumentForm HTTP/1.1" 500 282 and the rewrite_log says stuff like 203.32.226.34 - superuser [30/Aug/1999:15:59:43 +1000] [linus.tg.nsw.gov.au/sid# 80a21e4][rid#80bc65c/subreq] (3) applying pattern '^/Zope/(.*)' to uri '/' 203.32.226.34 - superuser [30/Aug/1999:15:59:43 +1000] [linus.tg.nsw.gov.au/sid# 80a21e4][rid#80bc65c/subreq] (1) pass through / I'm guessing the rewrite isn't working for me..... Would/Can anyone help me? Michael Bradbery.
At 08:46 30/08/99 , mgb58@hotmail.com wrote:
Hello,
I've "finally" got ZOPE up and running, but I still have one small(?) problem.
Details: on apache redhat 4.2 linux Python 1.5.1 (#1, Aug 17 1999, 09:42:48) [GCC 2.7.2.1] Apache/1.3.6 (Unix)
At the end of my httpd.conf i have:
--------------------------------------------------- <Location /Zope/> AuthType Basic AuthName Zope-realm AuthUserFile /etc/httpd/users require valid-user </Location>
You don't need the Auth* directives because you obviously want to have Zope handle the authentication. This is not causing you r problem, but might be causing one later on.
RewriteEngine On RewriteLog /new/usr/apache/logs/rewrite_log #RewriteLogLevel 9
RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/Zope/(.*) /home/httpd/cgi-bin/Zope.cgi/$1 \ [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
---------------------------------------------------
and most of it works.... I can get the Zope front screen to go... I can open the manage page, I can add users, I can edit current documents, and it serves them fine... but ...
I can't add pages... I can't add anything...
Try ^/Zope(.*) /home/httpd/cgi-bin/Zope.cgi$1 This works for me. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
Thanks Martijn, Tried your suggestion this morning, but unfortunately I get nearly the same results (operationally the same, but with an extra slash in the log files) perhaps my problem is elsewhere (not in the rewrite) ? MGB. -snip---
and most of it works.... I can get the Zope front screen to go... I
can
open the manage page, I can add users, I can edit current documents, and it serves them fine... but ...
I can't add pages... I can't add anything...
Try ^/Zope(.*) /home/httpd/cgi-bin/Zope.cgi$1
This works for me.
-- -snip---
participants (2)
-
Martijn Pieters -
mgb58@hotmail.com