[Zope3-Users] Redirect domain.com to www.domain.com

Andreas Jung lists at zopyx.com
Wed Apr 20 01:22:26 EDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

christophe petit wrote:
> Hello,
> 
> I have just installed zope 3 and I would like to know how to make
> redirect the url "http://domain.com" to "http://www.domain.com".
> I have not installed apache in front of zope 3, I used prerouting
> iptables rule to forward port 80 to zope 3 HTTPPORT.
> 
> Can i dot this without Apache and its "RewriteRule" in .htaccess ?
> 
> Any help would be appreciated,
> 

Running Zope on a public network behind a reverse is highly recommended
and best-practice...so the answer would be: use rewrite rules..

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJNrm2SAAoJEADcfz7u4AZj6BsLvj8J+v6z15OFDSGCn8jOIALc
NeR/t2t8CpgX5ly7sbIs8VzrkfXCLQit+8Rxup7K6l7V6h8IFJP8w58ffphqNfWn
0GJagriExDqKgMoHYmzLacDcUeCdLpujPmRKkZlcyFtnL16FBT0bXbFy/MTqvFrv
LV1yJAEV3Wwix7ByGhipt5LK2qmORpbrUY/3L0eNgRDJeuW+VUgCQS3HRDVpG+aJ
HggkieeYhdEEE4aZzRSxx03GlBiVfHsA0dFiKVzISNtUn8vL8m/AsqySiKZvZ+6Q
tzaXxShMvK6UEOkjIJc2qxfBAdoFOS/gfVRLoMnglNF3K1sdO/oUiVhKFUiQfmEU
58rkDLc8BgznKf5LkzboBhAQhv0wQcIYzf7gLn9KAUxIM/NSdXzBL0tgIpi3awkI
eRjHQrmwfYHo0kY3x1OmEcXOEHw/pKa1G0BgBOBKXDtCSfi9Udbvq6QXqUVDrbXX
xeKNsOiwlW89iCcZk7b3HuLAjh8nW/A=
=UQYF
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20110420/1d1186f0/attachment.vcf 


More information about the Zope3-users mailing list