Hi , Zope virtual hosting in Zope is confusing to me. Would anyone make me understand that with a apache equivalent. I have a website as http://myserver.com:8080/myprod I want to host it as http://myprod.com:80 I would give a DNS entry for http://myprod.com:80. I want to call the website from browser as http://myprod.com Would anyone please help me with this. Thanks in advance -- With Best Regards, Vishal Kashyap. http://www.vishal.net.in
--On 28. März 2006 18:21:10 +0530 Vishal Kashyap <vishalonlist@gmail.com> wrote:
Hi ,
Zope virtual hosting in Zope is confusing to me. Would anyone make me understand that with a apache equivalent.
I have a website as http://myserver.com:8080/myprod
I want to host it as http://myprod.com:80 I would give a DNS entry for http://myprod.com:80. I want to call the website from browser as http://myprod.com
What's the problem with using Vhosting as described in the Zope Book. The documentation explains how to solve the problem. If you have a problem, tell us about the problem. -aj
Andreas ,
What's the problem with using Vhosting as described in the Zope Book. The documentation explains how to solve the problem. If you have a problem, tell us about the problem.
I am not able to understand that. In apache what we do is create a document root make sure that apache is listening on the ip on which virtual host is running. In apache I simply do is <VirtualHost 19.19.19.0:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot /www/docs/dummy-host.example.com ServerName dummy-host.example.com ErrorLog logs/dummy-host.example.com-error_log CustomLog logs/dummy-host.example.com-access_log common </VirtualHost> What is equivalent of above in Zope. I know its given in Zope book. but could not understand that may be I am to much occupied with apache. -- With Best Regards, Vishal Kashyap. http://www.vishal.net.in
On Wed, 2006-03-29 at 00:14 +0530, Vishal Kashyap wrote:
Andreas ,
What's the problem with using Vhosting as described in the Zope Book. The documentation explains how to solve the problem. If you have a problem, tell us about the problem.
I am not able to understand that. In apache what we do is create a document root make sure that apache is listening on the ip on which virtual host is running. In apache I simply do is
<VirtualHost 19.19.19.0:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot /www/docs/dummy-host.example.com ServerName dummy-host.example.com ErrorLog logs/dummy-host.example.com-error_log CustomLog logs/dummy-host.example.com-access_log common </VirtualHost>
What is equivalent of above in Zope. The equivalent in Zope if you continue using apache would be a VirtualHost with a rewrite. For example: <VirtualHost *:80> ServerAdmin webmaster@foo.com ServerName www.foo.com RewriteEngine On RewriteRule ^(.*) http://127.0.0.1:8080/VirtualHostBase/http/www.foo.com:80/sub_ob/VirtualHost... [L,P] </VirtualHost>
Where sub_ob is the zope object you wish to map the 'site' to. You could also by pass using apache and just use the VirtualHostMonster Mappings tab: www.foo.com/sub_ob www.bar.com/someother_ob Hope this helps a bit more, Andrew
I know its given in Zope book. but could not understand that may be I am to much occupied with apache.
-- With Best Regards, Vishal Kashyap. http://www.vishal.net.in _______________________________________________ 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 )
participants (3)
-
Andreas Jung -
Andrew Sawyers -
Vishal Kashyap