[Zope] Apache
Tim Zegir
trzegir at ncable.net.au
Fri Feb 20 19:37:06 EST 2004
Thanks Phil that seems to have done it :)
but now it comes up with the following error
-------------
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://127.0.0.1/
-----------
as far as i can tell zope runs on http for me
thanks
-tim zegir
On Sat, 2004-02-21 at 10:42, Phil Harris wrote:
> Tim,
>
> you have an extra / on that line, it should be:
>
> RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/dev.foo:80/foo/VirtualHostRoot/$1 [L,P]
>
>
>
>
> Tim Zegir wrote:
>
> >I have the following setup
> >Mandrake 9.2
> >Apache 2
> >Zope 2.7.0
> >Webmin 1.130
> >
> >I am using webmin to apply the following rewrite rule.
> >----------
> ><VirtualHost dev.foo.com.au>
> >ServerName dev.foo.com.au
> >DocumentRoot /var/www
> >RewriteEngine On
> >RewriteLog "/var/log/httpd/rewrite_log"
> >RewriteLogLevel 1
> >RewriteRule ^/(.*) /
> >http://localhost:8080/VirtualHostBase/http/dev.foo:80/foo/VirtualHostRoot/$1 [L,P]
> ></VirtualHost>
> >-----------
> >In the file VHosts.conf
> >
> >When clicking apply in webmin i get the following error
> >---------------
> >Failed to apply changes :
> >Syntax error on line 54 of /etc/httpd/2.0/conf/vhosts/Vhosts.conf:
> >RewriteRule: bad flag delimiters
> >---------------
> >which is this line
> >RewriteRule ^/(.*) / http://localhost:8080/VirtualHostBase/http/dev.foo:80/foo/VirtualHostRoot/$1 [L,P]
> >
> >can anyone tell me what is wrong with it?
> >
> >thank you
> >-tim zegir
> >
> >
> >_______________________________________________
> >Zope maillist - Zope at 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 )
> >
> >
>
>
> _______________________________________________
> Zope maillist - Zope at 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 )
>
More information about the Zope
mailing list