Questions about the future Zope-Concept and MySQL for NT
Hi there, i am new here and discovered Zope yesterday. It's a great product and exaktly what i need here for a private project... I hope this list is the right place for my questions (and not only the place to discuss personal things) and i apologize for any questions somebody posted before, but i can't find them in the archives... I am running on my testmachine Zope 1.10.3 Version with WinNT as a service with Apache 1.36. I still need Apache in front of Zope. Is it possible to run the newer versions of zope with apache also? Or do i *need* to use the internal webserver? And: has anybody a precompiled and workable version of the MySQL DB-Adapter: http://www.zope.org/Download/ZMySQLDA for WinNT? Thanx in advance, Juergen <js@anima.de>
Hi Juergen, I can answer at least one of your questions. I didn't compile the ZMySQLDA but I have got a page set up where you can download binaries and some instructions as to how to get it working. try looking at http://media-1.ml.uwcm.ac.uk:8080/zmysql I have had a lot of success with this, but I have had reports from one other that they failed to get it working. If you have any questions mail me privately and I'll help as best I can. On the other subject, if you do get Zope working with Apaceh on win32 then let me know what you did. Anyway, I'll see ya Phil Phil@philh.org ----- Original Message ----- From: Juergen Specht <specht@speed-link.de> To: Zope List <zope@zope.org> Sent: Monday, August 16, 1999 10:46 PM Subject: [Zope] Questions about the future Zope-Concept and MySQL for NT
Hi there,
i am new here and discovered Zope yesterday. It's a great product and exaktly what i need here for a private project...
I hope this list is the right place for my questions (and not only the place to discuss personal things) and i apologize for any questions somebody posted before, but i can't find them in the archives...
I am running on my testmachine Zope 1.10.3 Version with WinNT as a service with Apache 1.36. I still need Apache in front of Zope. Is it possible to run the newer versions of zope with apache also? Or do i *need* to use the internal webserver?
And: has anybody a precompiled and workable version of the MySQL DB-Adapter: http://www.zope.org/Download/ZMySQLDA for WinNT?
Thanx in advance,
Juergen <js@anima.de>
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
Hi Phil, Phil Harris wrote:
I can answer at least one of your questions. Thanks!
I didn't compile the ZMySQLDA but I have got a page set up where you can download binaries and some instructions as to how to get it working. try looking at http://media-1.ml.uwcm.ac.uk:8080/zmysql I have had a lot of success with this, but I have had reports from one other that they failed to get it working. yes, this fails also here...i will investigate and send a separate mail...
If you have any questions mail me privately and I'll help as best I can. Will do :)
On the other subject, if you do get Zope working with Apaceh on win32 then let me know what you did. That's more easy. I found it in various FAQs and Mails:
First edit http.conf and change it like in this example: --<snip>-- # Load Rewrite-Module LoadModule rewrite_module modules/ApacheModuleRewrite.dll # My ZOPE is in installed in cgi-bin/zope/ <Location /cgi-bin/zope/> AuthType Basic AuthName Zope-Admin AuthUserFile "c:/programs/apache/conf/userpass.txt" require valid-user </Location> # Switch Rewrite to on and log accesses RewriteEngine on RewriteLog "c:\programs\apache\logs\rewrite.log" RewriteLogLevel 9 RewriteCond %{HTTP:Authorization} ^(.+) RewriteRule ^/zope/(.+) http://horst/cgi-bin/zope.exe/$1 [E=HTTP_CGI_AUTHORIZATION:%1,T=application/x-httpd-cgi,L] # The above line must be in ONE line and 'horst' must be your server-name! --<snap>-- Now create your Zope Admin Name and Password with htpasswd.exe and store it in 'c:/programs/apache/conf/userpass.txt' Now delete in <zope-homedirectory>access the password for the admin and let the name in it. Example: 'admin:' That's it. Now Zope 1.x works well with Apache under NT. Every URL-aesthetics are your turn :) Juergen <js@anima.de>
Hmm, Are you using Zope 1.10.3 or Zope 2. I ask because Zope2 doesn't come with a zope.exe, at least none I could find. I did get Zope1 working with Apache but no luck so far with Zope2, anybody got any ideas? If your using Zope1 with the MySQL DA then I have no idea whether it works or not, I'm using Zope2b4 and it works fine, far better than the ODBC stuff. See ya Phil phil@philh.org ----- Original Message ----- From: Juergen Specht <specht@speed-link.de> To: Phil Harris <phil@philh.org> Cc: Zope List <zope@zope.org> Sent: Tuesday, August 17, 1999 2:31 PM Subject: Re: [Zope] Questions about the future Zope-Concept and MySQL for NT
Hi Phil,
Phil Harris wrote:
I can answer at least one of your questions. Thanks!
I didn't compile the ZMySQLDA but I have got a page set up where you can download binaries and some instructions as to how to get it working. try looking at http://media-1.ml.uwcm.ac.uk:8080/zmysql I have had a lot of success with this, but I have had reports from one other that they failed to get it working. yes, this fails also here...i will investigate and send a separate mail...
If you have any questions mail me privately and I'll help as best I can. Will do :)
On the other subject, if you do get Zope working with Apaceh on win32 then let me know what you did. That's more easy. I found it in various FAQs and Mails:
First edit http.conf and change it like in this example: --<snip>--
# Load Rewrite-Module
LoadModule rewrite_module modules/ApacheModuleRewrite.dll
# My ZOPE is in installed in cgi-bin/zope/
<Location /cgi-bin/zope/> AuthType Basic AuthName Zope-Admin AuthUserFile "c:/programs/apache/conf/userpass.txt" require valid-user </Location>
# Switch Rewrite to on and log accesses
RewriteEngine on RewriteLog "c:\programs\apache\logs\rewrite.log" RewriteLogLevel 9
RewriteCond %{HTTP:Authorization} ^(.+) RewriteRule ^/zope/(.+) http://horst/cgi-bin/zope.exe/$1 [E=HTTP_CGI_AUTHORIZATION:%1,T=application/x-httpd-cgi,L]
# The above line must be in ONE line and 'horst' must be your server-name! --<snap>--
Now create your Zope Admin Name and Password with htpasswd.exe and store it in 'c:/programs/apache/conf/userpass.txt'
Now delete in <zope-homedirectory>access the password for the admin and let the name in it. Example: 'admin:'
That's it. Now Zope 1.x works well with Apache under NT.
Every URL-aesthetics are your turn :)
Juergen <js@anima.de>
Hi Phil, Phil Harris wrote:
Are you using Zope 1.10.3 or Zope 2. Zope 1.10.3
I ask because Zope2 doesn't come with a zope.exe, at least none I could find. Yes, i badly know...i was not able to run Zope2 with Apache under NT.
I did get Zope1 working with Apache but no luck so far with Zope2, anybody got any ideas? If your using Zope1 with the MySQL DA then I have no idea whether it works or not, I'm using Zope2b4 and it works fine, far better than the ODBC stuff. In my Zope-admin page is this entry:
ZMySQLDA (Broken product ZMySQLDA) And the traceback says: ZMySQLDA Import Traceback Traceback (innermost last): File "C:\Programme\zope\lib\python\OFS\Application.py", line 395, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Programme\zope\lib\python\Products\ZMySQLDA\__init__.py", line 106, in ? import sys, os, Globals, DA File "C:\Programme\zope\lib\python\Products\ZMySQLDA\DA.py", line 108, in ? from db import DB File "C:\Programme\zope\lib\python\Products\ZMySQLDA\db.py", line 106, in ? import MySQL, regex, sys ImportError: No module named MySQL Mhm, i followed your directions...any ideas? Juergen
On Tue, 17 Aug 1999, Phil Harris wrote:
Hmm,
Are you using Zope 1.10.3 or Zope 2.
I ask because Zope2 doesn't come with a zope.exe, at least none I could find.
Ooops, that might be my fault ;) Zope.exe is just a normal python interpreter - I renamed it in my distrib of betas 1-2 so it could add stuff to it without messing up the python library.
I did get Zope1 working with Apache but no luck so far with Zope2, anybody got any ideas?
Try the PCGI in the official beta release of Zope. Cheers, Anthony Pfrunder
participants (3)
-
Anthony Pfrunder -
Juergen Specht -
Phil Harris