Hello Sir, How to Configure Virtual Host? i installed Zope-2.4.0 version.i got Siteroot product also.now i have to change httpd.conf or access.conf on Apache.here i got some doubts please clarify these. 1.NameVirtualHost 123.456.789.0 (here i have to my server ip is it correct)??? 2. <VirtualHost 123.456.789.0 (here also)? 3. ServerName www.foo.com --here i have to give my server name correct? 4. ServerAdmin webmaster@foo.com --admin user id@server name correct?? 5. DocumentRoot /folder/subfolder -- here i have to give folder name/subfolder name??? ... 6.following three lines as it is right.... RewriteEngine on RewriteLog "/folder/rewrite_log" RewriteLogLevel 1 7. RewriteRule ^/static_page_folder1/ - [L] --here what i have to give please explain clearly..... 8. RewriteRule ^/static_page_folder2(.*) /static/page/folder/not/in/root/folder$1 [L] -- here also what and all i have give please exaplain with example..... 9. RewriteRule ^/(.*) http://www.bar.com:8080/zope_folder/$1 [P,L] --here i have to give server name:port name/folder name correct ....... </VirtualHost Please clarify above doubts.. actually what and all i have to give in RewriteRules please explain with an example..... thanks in advance regards suresh babu Eddala ZeOmega Infotech Pvt Ltd. Bangalore. ________________________________________________________________________ For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds... Visit http://in.finance.yahoo.com/
try this how-to http://www.zope.org/Members/jec/virtual_howto_html norman -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of suresh Sent: 11 December 2001 17:49 To: zope@zope.org Subject: [Zope] Help! Hello Sir, How to Configure Virtual Host? i installed Zope-2.4.0 version.i got Siteroot product also.now i have to change httpd.conf or access.conf on Apache.here i got some doubts please clarify these. 1.NameVirtualHost 123.456.789.0 (here i have to my server ip is it correct)??? 2. <VirtualHost 123.456.789.0 (here also)? 3. ServerName www.foo.com --here i have to give my server name correct? 4. ServerAdmin webmaster@foo.com --admin user id@server name correct?? 5. DocumentRoot /folder/subfolder -- here i have to give folder name/subfolder name??? ... 6.following three lines as it is right.... RewriteEngine on RewriteLog "/folder/rewrite_log" RewriteLogLevel 1 7. RewriteRule ^/static_page_folder1/ - [L] --here what i have to give please explain clearly..... 8. RewriteRule ^/static_page_folder2(.*) /static/page/folder/not/in/root/folder$1 [L] -- here also what and all i have give please exaplain with example..... 9. RewriteRule ^/(.*) http://www.bar.com:8080/zope_folder/$1 [P,L] --here i have to give server name:port name/folder name correct ....... </VirtualHost Please clarify above doubts.. actually what and all i have to give in RewriteRules please explain with an example..... thanks in advance regards suresh babu Eddala ZeOmega Infotech Pvt Ltd. Bangalore. ________________________________________________________________________ For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds... Visit http://in.finance.yahoo.com/ _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Norman Khine -
suresh