Re: [Zope] apache rewrite rules brake plone/zope

2006-05-03 Thread Chris Withers

David Bear wrote:

any hints on a rule I've left out?


View the page, look for the links to the css and the like, check they 
are generated with absolute_urls rather than just using fixed paths.


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
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] apache rewrite rules brake plone/zope

2006-05-02 Thread David Bear
I have the following rewrite rules for apache. The intent is all urls
that have http://myhost/z2 in them will be redirected/rewritten by
apache to the zope instance running on local host.

RewriteRule ^/z2/(.*) http://127.0.0.1:9080/VirtualHostBase/http/%{HTTP_HOST}:80
/VirtualHostRoot/$1 [L,P]

RewriteRule ^/z2dav/(.*) http://127.0.0.1:9081/VirtualHostBase/https/%{HTTP_HOST
}:443/VirtualHostRoot/$1 [L,P]

RewriteRule ^/login_form(.*) https://%{HTTP_HOST}/login_form$1 [NE,L]
There is something that I've left out becuase any
attempts to view the plone site through apache are 'messed up', ie the
graphics, fonts, style sheets, etc, are not included in the web page.
Only some of the content in rendered in the browser. However, when I
open the url http://127.0.0.1:9080/ the zope and plone site all works.

any hints on a rule I've left out?
-- David BearWhat's the difference between private knowledge and public knowledge?
___
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 )