Thanks Squirrel,
That was very helpful.

Through looking at the Apache logs I found where the error was
occurring:

[error] (13)Permission denied: proxy: HTTP: attempt to connect to
HOST:PORT (HOST) failed

  I was able to figure out that it was an SELinux error on my CentOS
platform. Here's the page detailing the fix:

http://blog.simb.net/2007/08/01/centos-5-apache-223-proxy-balancer-permission-denied-proxy-http/

The relevant command is:
# setsebool -Phttpd_can_network_connect=1

Hope this helps someone.

Graeme


On 16 Jun 2008, at 15:48, Squirrel wrote:

> Hi,
>
> In my Apache-Domain-Conf (sites-enabled) I have this:
>
> **
> RedirectMatch permanent ^/$ http://domain/xwiki/
> ProxyPass /xwiki http://domain:8082/xwiki/
> ProxyPassReverse /xwiki  http://domain:8082/xwiki/
> **
>
> And I loaded those modules:
> a2enmod alias
> a2enmod proxy
> a2enmod rewrite
>
> Of course you have to adapt my settings to yours (port) and keep the
> proxy
> stuff, this is very important.
>
> Hope this helps,
> Squirrel
>
>
>
> On Mon, Jun 16, 2008 at 10:29 AM, Graeme West <[EMAIL PROTECTED]>
> wrote:
>
>> Hi all,
>> Me again...
>>
>> I'm trying to get Xwiki to run behind Apache using mod_proxy, so
>> that I
>> have access to Xwiki via port 80 and can still do other Apache
>> stuff. I've
>> set up Apache according to:
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances
>>
>>
>> ProxyRequests Off
>> <Proxy *>
>>       Order deny,allow
>>       Allow from all
>> </Proxy>
>> ProxyPreserveHost On
>> ProxyPass /xwiki ajp://localhost:8009/xwiki
>>
>> I have also enabled the AJP connector in the Xwiki Jetty's
>> jetty.xml file,
>> by un-commenting the relevant section
>>
>>
>> However, I get an Apache error page when trying to load the proxied
>> Xwiki
>> (200 OK - "The server is temporarily unable to service your request
>> due to
>> maintenance downtime or capacity problems. Please try again later.")
>>
>> This is what appears in the Xwiki log:
>>
>> 2008-06-16 15:25:48,550 [http://HOST/xwiki/bin/view/Main/WebHome]
>> [AJP13Listener2-2] ERROR web.XWikiAction                 - Connection
>> aborted
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Graeme
>>
>> Glasgow Caledonian University is a registered Scottish charity,
>> number
>> SC021474
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
> Email has been scanned for viruses by Altman Technologies' email
> management service - www.altman.co.uk/emailsystems


Glasgow Caledonian University is a registered Scottish charity, number SC021474
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to