[Setup] Re: Setup Digest, Vol 25, Issue 11

Jason Silver jsilver at mcmaster.ca
Sat Nov 10 12:57:37 UTC 2007


unsubscribe

On Nov 10, 2007 7:00 AM, <setup-request at lists.plone.org> wrote:

> Send Setup mailing list submissions to
>        setup at lists.plone.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.plone.org/mailman/listinfo/setup
> or, via email, send a message with subject or body 'help' to
>        setup-request at lists.plone.org
>
> You can reach the person managing the list at
>        setup-owner at lists.plone.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Setup digest..."
>
>
> Today's Topics:
>
>   1. Re: Apache 2.2 rewrite rules (pacoverde)
>   2. Re: Apache 2.2 rewrite rules (Ricardo Newbery)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 9 Nov 2007 13:20:29 -0800 (PST)
> From: pacoverde <glenn at elaw.org>
> Subject: Re: [Setup] Apache 2.2 rewrite rules
> To: setup at lists.plone.org
> Message-ID: <13675330.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
>
> Ricardo Newbery wrote:
> >
> >
> > On Nov 7, 2007, at 1:18 PM, pacoverde wrote:
> >
> >> Does anyone see anything blatantly wrong with this rewrite rule?
> >>
> >> RewriteEngine On
> >> RewriteRule ^/(.*) \
> >> http://localhost:11080/VirtualHostBase/http/www.example.org:80/
> >> plone_site/site/VirtualHostRoot/$1
> >> [L,P]
> >>
> >> I can access the ZMI directly via the "www.example.org:11080" URL,
> >> but just
> >> get a 403 Forbidden error when accessing anything at
> >> www.example.org or
> >> below. I have tried:
> >>
> >> RewriteRule ^/(.*) \
> >> http://www.example.org:11080/VirtualHostBase/http/www.example.org:
> >> 80/plone_site/site/VirtualHostRoot/$1
> >> [L,P]
> >>
> >> also, but still no joy :(
> >>
> >> Configuration = Plone-2.5.3, Zope-2.9.6, Python-2.4.3,
> >> Apache-2.2.6, FreeBSD
> >> 6.2-RELEASE-p8
> >> --
> >> Thanks,
> >>
> >> Glenn
> >
> >
> > Hi Glenn,
> >
> > You might have an apache access permission issue with the file space
> > designated as the apache documentroot for this host.  To check this,
> > place a test html file in the apache document root and disable the
> > rewrite lines.  If you get the same error then you've got a basic
> > access permission issue.  Check apache's error.log for clues.  Check
> > the file system permissions.  Check to see if you have any access
> > restrictions defined within the apache config.
> >
> > Ric
> >
> >
> >
> > _______________________________________________
> > Setup mailing list
> > Setup at lists.plone.org
> > http://lists.plone.org/mailman/listinfo/setup
> >
> >
>
> Hmmm...If I place a very basic index.html file in the Apache document root
> for the VHost and disable all rewrite rules, I can access the document
> just
> fine.
>
> If I re-enable the rewrite rules (either based on docs on the Plone site,
> or
> on James' how-to) we go back to the "403" Forbidden error. When this
> happens, the error log for the VHost shows:
>
> "[Fri Nov 09 13:05:54 2007] [warn] proxy: No protocol handler was valid
> for
> the URL /index.html. If you are using a DSO version of mod_proxy, make
> sure
> the proxy submodules are included in the configuration using LoadModule."
>
> I've enabled mod_proxy_html and mod_proxy_connect:
>
>     PROXY=on "Enable mod_proxy"
>     PROXY_CONNECT=on "Enable mod_proxy_connect"
>     PROXY_FTP=off "Enable mod_proxy_ftp"
>     PROXY_HTTP=on "Enable mod_proxy_http"
>     PROXY_AJP=off "Enable mod_proxy_ajp"
>     PROXY_BALANCER=off "Enable mod_proxy_balancer"
>
> but the problem remains.
>
> Other ideas, anyone?
> --
> Glenn
> --
> View this message in context:
> http://www.nabble.com/Apache-2.2-rewrite-rules-tf4767457s15482.html#a13675330
> Sent from the Installation, Setup, Upgrades mailing list archive at
> Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 9 Nov 2007 15:15:27 -0800
> From: Ricardo Newbery <ric at digitalmarbles.com>
> Subject: Re: [Setup] Apache 2.2 rewrite rules
> To: pacoverde <glenn at elaw.org>
> Cc: setup at lists.plone.org
> Message-ID: <57B62D97-052F-4836-A54C-2424678B5FFA at digitalmarbles.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>
> On Nov 9, 2007, at 1:20 PM, pacoverde wrote:
>
> > Hmmm...If I place a very basic index.html file in the Apache
> > document root
> > for the VHost and disable all rewrite rules, I can access the
> > document just
> > fine.
> >
> > If I re-enable the rewrite rules (either based on docs on the Plone
> > site, or
> > on James' how-to) we go back to the "403" Forbidden error. When this
> > happens, the error log for the VHost shows:
> >
> > "[Fri Nov 09 13:05:54 2007] [warn] proxy: No protocol handler was
> > valid for
> > the URL /index.html. If you are using a DSO version of mod_proxy,
> > make sure
> > the proxy submodules are included in the configuration using
> > LoadModule."
>
>
> Hmm... if you're loading these modules dynamically, do you have all
> the necessary LoadModule directives in your config?
> It should look something like so:
>
> LoadModule proxy_module       modules/libproxy.so
> LoadModule proxy_http_module  modules/mod_proxy_http.so
> LoadModule rewrite_module     modules/mod_rewrite.so
>
> The path might differ in some installs -- check the "modules" (or
> maybe "libexec") folder in the apache install to confirm.  Some
> setups may also group the modules into "available" and "enabled"
> folders -- if so, then check to see that the modules you need are in
> the "enabled" folder.
>
>
> > I've enabled mod_proxy_html and mod_proxy_connect:
> >
> >      PROXY=on "Enable mod_proxy"
> >      PROXY_CONNECT=on "Enable mod_proxy_connect"
> >      PROXY_FTP=off "Enable mod_proxy_ftp"
> >      PROXY_HTTP=on "Enable mod_proxy_http"
> >      PROXY_AJP=off "Enable mod_proxy_ajp"
> >      PROXY_BALANCER=off "Enable mod_proxy_balancer"
>
>
> Where did you find these lines?
>
> Note, mod_proxy_connect is mainly used to tunnel SSL requests through
> a proxy -- I don't think this applies in your usecase.
>
> Ric
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
>
>
> End of Setup Digest, Vol 25, Issue 11
> *************************************
>



-- 
--------------------~------------------------------~--------------
Please do not change the subject line of this message, unless you are
starting a completely new topic.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20071110/2c390de0/attachment.htm


More information about the Setup mailing list