Hello Everybody, I am trying to configure zope with apache and using the following way. After adding VHM to the zope directory added Following lines in httpd.conf of apache <VirtualHost *> ServerName www.example.com RewriteEngine On RewriteRule ^/(.*)http://Ip_of_the_server:8080/VirtualHostBase/http/www.example.com:80/ Name_of _the_zopedirectory/VirtualHostRoot/$1 [L,P] </VirtualHost> But it is not working. I also compiled apache with --enable -rewrite module. Looking for advice and help. Thanks in advance - Rajeev Sharma NetCore Solution (Mumbai) /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/* .--. "Between the conception |o_o | And the creation |¡_/ | Between the emotion // \ \ And the response (| | ) Falls the shadow " /'\_ _/`\ "Linux drives you from creativity \___)=(___/ to innovation" /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/* ---------------------------------------------------------------- NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org ----------------------------------------------------------------
On to, 2003-12-18 at 17:32, Rajeev Sharma wrote:
Hello Everybody,
I am trying to configure zope with apache and using the following way. After adding VHM to the zope directory added Following lines in httpd.conf of apache
<VirtualHost *> ServerName www.example.com RewriteEngine On RewriteRule ^/(.*)http://Ip_of_the_server:8080/VirtualHostBase/http/www.example.com:80/ Name_of _the_zopedirectory/VirtualHostRoot/$1 [L,P] </VirtualHost>
But it is not working.
We're using ProxyPass. All you need to do is add this (mind the wrap) to your virtual host: ProxyPass /http://localhost:8080/VirtualHostBase/https/tpk8.abo.fi:443/VirtualHostRoot/ Works fine on Apache2 / RH9. -Petter- -- Petter Holmström Civare, Åbo Akademi University Axelia, Biskopsgatan 8, Room 339 Tel: +358 2 215 3508 GSM: +358 40 8395765 Email: petter.holmstrom@abo.fi Having a bad day? - http://www.murphys-laws.com
Hi, But i am not using proxypass , so how to come out from rewrite problem. As i want to use rewrite because my apache is not compiled for proxypass. Is there any way you can help me to solve the problem with rewrite. thanks rajeev
We're using ProxyPass. All you need to do is add this (mind the wrap) to your virtual host:
ProxyPass /http://localhost:8080/VirtualHostBase/https/tpk8.abo.fi:443/VirtualHostRoot/
Works fine on Apache2 / RH9.
-Petter-
-- Petter Holmström Civare, Åbo Akademi University Axelia, Biskopsgatan 8, Room 339 Tel: +358 2 215 3508 GSM: +358 40 8395765 Email: petter.holmstrom@abo.fi Having a bad day? - http://www.murphys-laws.com
-- Rajeev Sharma NetCore Solution (Mumbai) /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/* .--. "Between the conception |o_o | And the creation |¡_/ | Between the emotion // \ \ And the response (| | ) Falls the shadow " /'\_ _/`\ "Linux drives you from creativity \___)=(___/ to innovation" /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/* ---------------------------------------------------------------- NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org ----------------------------------------------------------------
On to, 2003-12-18 at 18:24, Rajeev Sharma wrote:
But i am not using proxypass , so how to come out from rewrite problem. As i want to use rewrite because my apache is not compiled for proxypass.
Is there any way you can help me to solve the problem with rewrite.
I'm sorry, but I don't know how to do this with rewrite. Perhaps someone else in this list can help? -Petter- -- Petter Holmström Civare, Åbo Akademi University Axelia, Biskopsgatan 8, Room 339 Tel: +358 2 215 3508 GSM: +358 40 8395765 Email: petter.holmstrom@abo.fi Having a bad day? - http://www.murphys-laws.com
Rajeev Sharma said:
Hello Everybody,
I am trying to configure zope with apache and using the following way. After adding VHM to the zope directory added Following lines in httpd.conf of apache
<VirtualHost *> ServerName www.example.com RewriteEngine On RewriteRule ^/(.*)http://Ip_of_the_server:8080/VirtualHostBase/http/www.example.com:80/ Name_of _the_zopedirectory/VirtualHostRoot/$1 [L,P] </VirtualHost>
But it is not working.
You're missing a space. Try: RewriteRule ^/(.*) http://IP_ADDR:8080/VirtualHostBase... --space here---^^^ HTH, Dylan
participants (3)
-
Dylan Reinhardt -
Petter Holmström -
Rajeev Sharma