Hi All. I started playing with VHM, but I have some problem. This is my apache configuration. NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1> ServerName www1.antonella.it RewriteEngine on RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/www1.antonella.it:80/www1/Virtual HostRoot/$1 [P] </VirtualHost> I have a folder www1 on Zope. When I send this request http://www1.antonella.it I obtain the index_html object present in the www1 folder <dtml-var standard_html_header> <!-- index_html --> <p> l'home page </p> <p><a href="ciao">Ciao a tutti<a></p> <dtml-var standard_html_footer> Ok, but when I click on ciao (it exist) I obtain nothing more then a refresh of index_html. Why? Best regards. Gius.
Some guesses: 1. Try using the [L,P] flag at the end of your RewriteRule directive. You might inadvertently be executing a later rule. 2. Try using an explicit URL (<a href=http://www1.antonella.it/ciao>) and see if that makes any difference. 3. It's something to do with how ciao is implemented. HTH, Dylan At 04:29 AM 3/7/2003, Zoper wrote:
Hi All. I started playing with VHM, but I have some problem. This is my apache configuration.
NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1> ServerName www1.antonella.it RewriteEngine on RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/www1.antonella.it:80/www1/Virtual HostRoot/$1 [P] </VirtualHost>
I have a folder www1 on Zope. When I send this request
I obtain the index_html object present in the www1 folder
<dtml-var standard_html_header> <!-- index_html --> <p> l'home page </p> <p><a href="ciao">Ciao a tutti<a></p> <dtml-var standard_html_footer>
Ok, but when I click on ciao (it exist) I obtain nothing more then a refresh of index_html. Why?
Best regards.
Gius.
_______________________________________________ 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 (2)
-
Dylan Reinhardt -
Zoper