httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Jorge de Oliveira Cantante de Matos <p...@netvisao.pt>
Subject [users@httpd] Using Apache2 with Zope: Rewrite Rules
Date Sat, 01 Nov 2003 13:46:37 GMT
Hi all,

I'm trying to follow:
http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx
to upon receiving a request like http://www.example.com/index_html I
redirecto to Zope using
http://127.0.0.1:8080/VirtualHostBase/http/www.example.com:80/vhm_test/VirtualHostRoot/$1
[L, P]

However the help they provide in ZopeBook seems to work only with Apache
and not with Apache2. They say to add: 
NameVirtualHost *
<VirtualHost *>
ServerName www.example.com
RewriteEngine On
RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/www.example.com:80/vhm_test/VirtualHostRoot/$1
[L,P]
</VirtualHost>
to httpd.conf and since I don't have httpd.conf I added to apache2/conf/vhosts/vhosts.conf
I added www.example.com to my /etc/hosts in the localhost line.

When I restart Apache2 I get:
descartes root # /etc/init.d/apache2 start
 * Starting apache2...
[Sat Nov 01 13:36:03 2003] [error] VirtualHost _default_:443 -- mixing * ports and non-* 
ports with a NameVirtualHost address is not supported, proceeding with undefined results 

I don't understand the error message!
Can someone please help me out with this one?

Best regards,
-- 

Paulo J. Matos : pocm@mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Computer and Software Eng. - A.I.
 - > http://mega.ist.utl.pt/~pocm
---
        -> God had a deadline...
                So, he wrote it all in Lisp!


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message