Re: [Zope] question for anyone using apache on windows
ok will do. Just that alot of people have apache experience on this list and I've got some really good help from it.On 12/21/05, Chris Withers [EMAIL PROTECTED] wrote:I'm sure there's an Apache list you could be asking these questions, this has nothing to do with Zope.#apache on irc.freenode.net is where I'd go ;-)Chrismichael nt milne wrote: 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 foldercalled 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 fromin front of the line)3. Also find the line *ClearModuleList* is uncommented then find andmake sure that the line *AddModule mod_rewrite.c* is not commented out.NameVirtualHost ip:80VirtualHost ip:80ServerName nameRewriteEngine OnRewriteRule ^/(.*) http://ip:8080/VirtualHostBase/http/name:80/site/VirtualHostRoot/$1 [L,P]/VirtualHost On 12/19/05, michael nt milne [EMAIL PROTECTED] 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 themodule wouldn't be available in the distribution. Do you know any documentation on how to install on module at all? The unix version comeswith it by default I think. **On 12/19/05, Andreas Jung [EMAIL PROTECTED] wrote:Likely the rewrite module isn't loaded (check the correspondingLoadModulestatements of your configuration).-aj --On 19. Dezember 2005 16:33:59 + michael nt milne [EMAIL PROTECTED] 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/ApacheGroup/Apache2/conf/httpd.con f:Invalid command 'RewriteEngine', perhaps mis-spelled or defined by amodule notincluded in the server configurationNote the errors or messages above, and press the ESC key to exit.22...NameVirtualHost ip:80VirtualHost ip:80ServerName name RewriteEngine OnRewriteRule ^/(.*)http://ip:8080/VirtualHostBase/http/name:80/site/VirtualHostRoot/$1 [L,P] /VirtualHost ___ 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 )--Simplistix - Content Management, Zope Python Consulting- http://www.simplistix.co.uk ___ 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 )
Re: [Zope] question for anyone using apache on windows
I'm sure there's an Apache list you could be asking these questions, this has nothing to do with Zope. #apache on irc.freenode.net is where I'd go ;-) Chris michael nt milne wrote: 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote: Likely the rewrite module isn't loaded (check the corresponding LoadModule statements of your configuration). -aj --On 19. Dezember 2005 16:33:59 + michael nt milne [EMAIL PROTECTED] 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 ___ 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 ) -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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 )
Re: [Zope] question for anyone using apache on windows
On 19 Dec 2005, at 16:33, michael nt milne 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... Of course it does. I would assume you don't have it (mod_rewrite) configured for loading or it's simply not in your installation. jens ___ 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 )
Re: [Zope] question for anyone using apache on windows
Likely the rewrite module isn't loaded (check the corresponding LoadModule statements of your configuration). -aj --On 19. Dezember 2005 16:33:59 + michael nt milne [EMAIL PROTECTED] 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 pgpa7v5VYOU9t.pgp Description: PGP signature ___ 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 )
Re: [Zope] question for anyone using apache on windows
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 [EMAIL PROTECTED] wrote: Likely the rewrite module isn't loaded (check the corresponding LoadModulestatements of your configuration).-aj--On 19. Dezember 2005 16:33:59 + michael nt milne [EMAIL PROTECTED] 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 ___ 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 )
Re: [Zope] question for anyone using apache on windows
HiOk 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. Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)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)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] /VirtualHostOn 12/19/05, michael nt milne [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote: Likely the rewrite module isn't loaded (check the corresponding LoadModulestatements of your configuration).-aj--On 19. Dezember 2005 16:33:59 + michael nt milne [EMAIL PROTECTED] 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 ___ 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 )