Rewrite rules for maintenance of multiple domainsAuthor: Dr. Volker Liebenberg, 2003/09/04
If many domains within a ZOPE/ZMS instance shall be maintained, virtual hosts are to be implemented and corresponding rewrite rules must be configured.
portal.deRewriteEngine On RewriteRule ^PfadINSTANZ1(.*) http://www.instanz1.de:80$1/ [L,NE] RewriteRule ^PfadINSTANZ2(.*) http://www.instanz2.de:80$1/ [L,NE] RewriteRule ^PfadINSTANZ3(.*) http://www.instanz3.de:80$1/ [L,NE] RewriteRule ^(.*) http://217.160.211.236:8080/VirtualHost\ Base/http/www.portal.de:80/live/ROC/VirtualHostRoot$1 [L,P,NE]
instanzX.de
The reWrite rules that are to be used are correspondent to those of the portals. This is neccessary to achieve a correct addressing e.g. in case of internal links.
When rewriting you have to take care that the entire ZOPE path is taken over without any changes in order to avoid faulty addressing of objects.
The used flag means: More about the topic: |
Home |
Sitemap |
Printversion |
Top |
Imprint |
pressinfo
© 2001-2008 Hoffmann+Liebenberg GmbH, SNTL Publishing GmbH & Co KG
|
ZMS is a partner project of medvalue.net