[Zope] VHM and SSL protection problem

2005-11-04 Thread Sophia Grimm
Hello Everyone.

I have an existing Cosign-protected site and now I
need a site that is only SSL encrypted. We have many
apps for which users should be authenticated against a
local MySQL database *instead* of Cosign, but we want
network traffic to be encrypted. I originally tried
setting this up all in one Zope server in different
folders, but I can't get SSL to work without Cosign
authentication on that Zope server. So I tried
installing a separate Zope, as shown below.

My current setup is:
Macintosh OS X Server 10.4.2, Apache 1.3.33,
mod_fastcgi 2.4.2, mod_ssl 2.8.22, OpenSSL 0.9.7g,
with Cosign. I have but one ethernet address for the
server.

Installation #1: Plone 2/Zope 2.7.1
This is our Cosign-protected, stable setup using
FastCGI to put Apache in front of Zope (which I know
is outdated but I cannot immediately change).

Installation #2: Plone 2.1/Zope 2.7.7
I'm trying to use VHM and an Apache rewrite rule to
protect this site with SSL. I'm using instructions
from http://plone.org/documentation/how-to/apache-ssl
. Step number 7 shows this rewrite rule:

RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/https/www.yourmachinename.com:443/$1

So if my original Zope site was 
http://www.sg.com:8080/
the above rule should simply rewrite the URL to
https://www.sg.com:443/
which would force all requests for the http site to go
through SSL before being forwarded to Zope. Correct? 

However, when I create a VHM (without any special
mappings) and add the rewrite rule and restart, Apache
seems to completely ignore the rewrite. Modifying it
in various ways causes errors.

Any hints are much appreciated. Thanks! -- SG




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2.8.1 won't make

2005-09-13 Thread Sophia Grimm
The problem was that I had a : in the path of the
install directory. Once I fixed it, everything worked
great. Thanks to all who responded!!

SG


--- Sophia Grimm [EMAIL PROTECTED] wrote:

 Just downloaded Zope 2.8.1 and I'm trying to install
 it on MOSX 10.4, which has XCode 2.1 installed.
 
 I'm following installation instructions on this
 page:

http://www.plope.com/Books/2_7Edition/InstallingZope.stx#2-6
 
 ./configure runs, but when I try to make, I get this
 error:
 
 makefile:54: *** target pattern contains no `%'. 
 Stop.
 
 This happens regardless of the python or prefix I
 use
 as arguments when I configure. I've used Python
 2.3.5
 which comes with MOXS 10.4, and I've used Python
 2.3.5
 as installed by Fink. 
 
 I don't understand what this error means. Any ideas,
 anyone? Thanks in advance.
 
 SG
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] mysql-python build error

2005-09-13 Thread Sophia Grimm
I installed Plone 2.1 from the binary installer at
plone.org and MySQL 4.1 from the binary at mysql.com.
When attempting to build MySQL-python-1.2.0 on MOSX
10.4.2 client, I get this error:

sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
running build
running build_py
running build_ext
building '_mysql' extension
gcc -bundle -undefined dynamic_lookup
build/temp.darwin-8.2.0-Power_Macintosh-2.3/_mysql.o
-L/usr/local/mysql/include -lz -lmysqld -o
build/lib.darwin-8.2.0-Power_Macintosh-2.3/_mysql.so
/usr/bin/ld: can't locate file for: -lmysqld
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Obviously, it's looking for -lmysqld. I don't know
where to change setup.py (or what to change it to) so
this will work. Any tips are appreciated!!

SG



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 2.8.1 won't make

2005-09-09 Thread Sophia Grimm
Just downloaded Zope 2.8.1 and I'm trying to install
it on MOSX 10.4, which has XCode 2.1 installed.

I'm following installation instructions on this page:
http://www.plope.com/Books/2_7Edition/InstallingZope.stx#2-6

./configure runs, but when I try to make, I get this
error:

makefile:54: *** target pattern contains no `%'. 
Stop.

This happens regardless of the python or prefix I use
as arguments when I configure. I've used Python 2.3.5
which comes with MOXS 10.4, and I've used Python 2.3.5
as installed by Fink. 

I don't understand what this error means. Any ideas,
anyone? Thanks in advance.

SG


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )