[Zope] Virtual Host Monster and DynDns

Chuck Amadi chuck at smtl.co.uk
Tue Jul 20 07:15:19 EDT 2004


Hi you must use mod_rewrite rules in your Apache's httpd.conf file.Thats
assuming yuor ussing Apache as your web server to serve up Zope .

Here's a snippet of one of many our our organisations domains.


# biotic domains

<VirtualHost www.zoobiotic.com www.biotic.org www.biotic.net
www.biotic.com www.biotic.net www.biotic.org>DocumentRoot
/var/usr/local/lib/docs/biotic/

ServerName www.biotic.com

ScriptAlias /cgi-bin/ /var/usr/local/lib/docs/Common/cgi-bin/

ErrorLog /var/log/www.biotic.com-error_log

TransferLog /var/log/www.biotic.com-access_log


<IfModule mod_rewrite.c>

RewriteEngine On

# the following needs to be writeable by Apache

## every other URL is fetched from Zope

#RewriteRule ^/(.*) http://stargazer.biotics.co.uk:8080/biotic/$1 [P,L]

RewriteRule ^/(.*)
http://stargazer.biotics-lab.co.uk:8080/VirtualHostBase/http/www.biotic.org=
:80/zoobiotic.com/VirtualHostRoot/$1 [P,L]

</IfModule>

</VirtualHost>

I hope this helps as mt last employer we had the same problem until I
got going here mod_rewrite rules.

Cheers

Chuck


On Tue, 2004-07-20 at 10:41, Holger Butschek wrote:
> Hi folks,
>=20
> I have an problem useing the VirtualHostMonster. My Server can be
> connected by butschekconsult.dyndns.org:9080. Now, I'd like to host some
> pages. But I don't want the user always to type that string, I'd rather
> prefer him to type something like www.butschek-consult.de . For that, I
> thought I could put an index.html-file at the mass-hosting-server that
> point to my butschekconsult.dyndns.org:9090 with something like
> http://butschekconsult.dyndns.org:9080/vhm_test/ . The user should see
> the adress: www.butschek-consult.de . Do you have any ideas how to do
> that.=20
>=20
> Bye,
> Holger
>=20
> I have an apache 2.0 running, too.
>=20
>=20
> -----------------------------------------------------
> Butschek IT Consulting
>=20
> Holger Butschek
> Hellenstrasse 27
> 56179 Vallendar
>=20
> Telefon:    02 61 / 96 34 98 8
> Fax    :    02 61 / 96 37 75 7
> Handy  :    01 79 / 24 18 70 2
>=20
> eMail  :    h.butschek at butschek-consult.de
> Web    :    http://www.butschek-consult.de
> Anfahrt:    http://mail.map24.com/butschek-consult
>=20
> -----------------------------------------------------
>=20
> Diese E-Mail enth=C3=A4lt vertrauliche und/oder rechtlich gesch=C3=BCtzte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail irrt=C3=BCmlich erhalten haben, informieren Sie bitte sofort den
> Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
> die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>=20
> This e-mail may contain confidential and/or privileged information. If
> you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.=20
>=20
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
--=20
Chuck Amadi, Systems Administrator, |  http://www.smtl.co.uk/
Surgical Materials Testing Lab,     |  http://www.worldwidewounds.com/
Princess of Wales Hospital, S Wales |  http://www.dressings.org/
Tel/Fax: +44 1656-752820            |  chuck at smtl.co.uk



More information about the Zope mailing list