unsubscribe On Nov 10, 2007 7:00 AM, <[EMAIL PROTECTED]> wrote:
> Send Setup mailing list submissions to > [email protected] > > 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 > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > 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 <[EMAIL PROTECTED]> > Subject: Re: [Setup] Apache 2.2 rewrite rules > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > 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 > > [email protected] > > 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 <[EMAIL PROTECTED]> > Subject: Re: [Setup] Apache 2.2 rewrite rules > To: pacoverde <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > 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 > [email protected] > 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.
_______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
