[Zope] question for anyone using apache on windows

michael nt milne michael.milne at gmail.com
Mon Dec 19 12:25:05 EST 2005


Hi

Ok so I looked at this stuff but can't find anything listed for point 3.
Also I had to set Plone to listen on 8080 within its config file and now get
Apache for my Plone domains. However they won't re-direct to the right site
within the Plone installation. I've achieved this on Unix with the virtual
host stuff below.


   1. Find the httpd.conf file (usually you will find it in a folder
   called conf, config or something along those lines)
   2. Inside the httpd.conf file uncomment the line *LoadModule
   rewrite_module modules/mod_rewrite.so* (remove the pound '#' sign from
   in front of the line)
   3. Also find the line *ClearModuleList* is uncommented then find and
   make sure that the line *AddModule mod_rewrite.c* is not commented
   out.

> NameVirtualHost ip:80
> <VirtualHost ip:80>
> ServerName name
> RewriteEngine On
> RewriteRule ^/(.*)
> http://ip:8080/VirtualHostBase/http/name:80/site/Virt
> ualHostRoot/$1 [L,P]
> </VirtualHost>


On 12/19/05, michael nt milne <michael.milne at gmail.com> wrote:
>
> ok, i simply downloaded the Apache 2.0.55 release for Windoes from Apache.
> Thre RewriteEngine is set to on in the httpd.conf. God knows why the
> module wouldn't be available in the distribution. Do you know any
> documentation on how to install on module at all? The unix version comes
> with it by default I think. **
>
> On 12/19/05, Andreas Jung <lists at andreas-jung.com> wrote:
> >
> > Likely the rewrite module isn't loaded (check the corresponding
> > LoadModule
> > statements of your configuration).
> >
> > -aj
> >
> > --On 19. Dezember 2005 16:33:59 +0000 michael nt milne
> > < michael.milne at gmail.com> wrote:
> >
> > > Does RewriteEngine work on Apache for Windows 2.0.5 ?
> > >
> > > I'm getting the following......
> > >
> > > Syntax error on line 960 of C:/Program Files/Apache
> > > Group/Apache2/conf/httpd.con
> > > f:
> > > Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a
> > > module not
> > > included in the server configuration
> > > Note the errors or messages above, and press the <ESC> key to
> > exit.  22...
> > >
> > >
> > >
> > > NameVirtualHost ip:80
> > > <VirtualHost ip:80>
> > > ServerName name
> > > RewriteEngine On
> > > RewriteRule ^/(.*)
> > > http://ip:8080/VirtualHostBase/http/name:80/site/Virt
> > > ualHostRoot/$1 [L,P]
> > > </VirtualHost>
> >
> >
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20051219/893237d0/attachment.htm


More information about the Zope mailing list