Re: [Zope] 404 on /manage frames with mod_rewrite

2008-08-21 Thread Bernard Devlin
Nope, that rewrite rule only appeared to work because I had already
authenticated on 8080, and the manage frames were pointing to that port.  I
followed Timo's advice and used the Rewrite Witch, and it worked (I'd used
the rewrite witch last week and still couldn't get things to work - I must
have had other broken elements last week, because now it's working).

bernard

On Thu, Aug 21, 2008 at 12:49 AM, Bernard Devlin [EMAIL PROTECTED] wrote:

 I worked it out.  For the apache virtualhost config for 443 I changed the
 rewrite rule to this:

 RewriteRule ^/zp($|/.*) http://%{SERVER_NAME}:8080/VirtualHostRoot$1 [L,P]

 I probably should have included my rewrite rules in the earlier message.
 I'm sure my mistake would have been glaringly obvious.

 Bernard


___
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] 404 on /manage frames with mod_rewrite

2008-08-21 Thread Tino Wildenhain

Bernard Devlin wrote:
I worked it out.  For the apache virtualhost config for 443 I changed 
the rewrite rule to this:


RewriteRule ^/zp($|/.*) http://%{SERVER_NAME}:8080/VirtualHostRoot$1 [L,P]

I probably should have included my rewrite rules in the earlier 
message.  I'm sure my mistake would have been glaringly obvious.


Since 443 is missing in your rule its pretty obviously incorrect :-)

The witch is outputting:

RewriteRule ^/zp($|/.*) \
http://127.0.0.1:8080/VirtualHostBase/https/%{SERVER_NAME}:443/VirtualHostRoot/_vh_zp$1 
[L,P]


and I feel this should work :-)

Regards
Tino


smime.p7s
Description: S/MIME Cryptographic Signature
___
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] 404 on /manage frames with mod_rewrite

2008-08-20 Thread Bernard Devlin
Hi folks,

I managed to find some good information on putting zope behind apache and
using mod_rewrite.  This appears to be working fine as long as I'm using a
non-framed page (and it works with SSL too).

However, when I try to access the site using
https://mysite.com/some_zope_page it works, but if I try
https://mysite.com/zp/manage, I'm prompted for my zope admin credentials,
and once I submit the credentials the framed portions are all 404d.  When I
check the url for one of the framed pages it looks like this:
http://mysite.com:443/manage_workspace.

Any idea if it is something I have misconfigured in Apache or is it
something I've misconfiguration in Zope?

Bernard
___
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] 404 on /manage frames with mod_rewrite

2008-08-20 Thread Tino Wildenhain

Bernard Devlin wrote:

Hi folks,

I managed to find some good information on putting zope behind apache 
and using mod_rewrite.  This appears to be working fine as long as I'm 
using a non-framed page (and it works with SSL too). 

However, when I try to access the site using 
https://mysite.com/some_zope_page it works, but if I try 
https://mysite.com/zp/manage, I'm prompted for my zope admin 
credentials, and once I submit the credentials the framed portions are 
all 404d.  When I check the url for one of the framed pages it looks 
like this: http://mysite.com:443/manage_workspace.


Maybe you double check using the witch:

http://betabug.ch/zope/witch

Regards
Tino


smime.p7s
Description: S/MIME Cryptographic Signature
___
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] 404 on /manage frames with mod_rewrite

2008-08-20 Thread Bernard Devlin
I worked it out.  For the apache virtualhost config for 443 I changed the
rewrite rule to this:

RewriteRule ^/zp($|/.*) http://%{SERVER_NAME}:8080/VirtualHostRoot$1 [L,P]

I probably should have included my rewrite rules in the earlier message.
I'm sure my mistake would have been glaringly obvious.

Bernard
___
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 )