Problems configuring proxy on Apache2

299 views
Skip to first unread message

Thiago

unread,
Mar 12, 2011, 6:58:31 PM3/12/11
to onesocialweb
Hi,

The Web Client is not working for me at.
* HTTP Bind is enabled in openfire
* Proxy doesnt seem to work
* When running: sudo a2enmod proxy // The output is: Module proxy
already enabled

My Config File is the Following:

<VirtualHost *:80>
DocumentRoot /var/www/onesocialweb

ServerAdmin webm...@example.com
ServerName jinglenodes.org

<Directory /var/www/onesocialweb>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/onesocialweb_error.log

# Possible values include: debug, info, notice, warn, error,
crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/onesocialweb_access.log combined
ServerSignature On

<Proxy *>
Order Allow,Deny
Allow from all
</Proxy>

ProxyRequests Off
ProxyTimeout 900
ProxyPass /bosh http://127.0.0.1:7070/http-bind/
ProxyPassReverse /bosh http://127.0.0.1:7070/http-bind/
ProxyPass /file http://127.0.0.1:9090/plugins/osw-openfire-plugin/file/
ProxyPassReverse /file http://127.0.0.1:9090/plugins/osw-openfire-plugin/file/

</VirtualHost>


Gineta

unread,
Mar 13, 2011, 6:15:04 AM3/13/11
to onesocialweb
Is working for sure Apache I have the seam problem
by example add this to your apache configuration
ProxyPass /test http://google.com
ProxyPassReverse /test http://google.com

Try your domain.com/test and you go to see redirect to google

I believe the problem is in OPENFIRE but I not get any errors in
Openfire
But In apache I got
[Sun Mar 13 10:05:09 2011] [error] [client 8x.xx.x7.xx] File does not
exist: /mnt/var/www/vhosts/chat/onesocialweb/images, referer:
http://chat.freenodo.com/standard.css
[Sun Mar 13 10:05:16 2011] [error] [client 8x.xx.x7.xx] File does not
exist: /mnt/var/www/vhosts/chat/onesocialweb/OswClient/bosh, referer:
http://chat.freenodo.com/OswClient/B02465D320BDAD3B886F4F8F3259D1B7.cache.html
[Sun Mar 13 10:05:16 2011] [error] [client 8x.xx.x7.xx] File does not
exist: /mnt/var/www/vhosts/chat/onesocialweb/OswClient/bosh, referer:
http://chat.freenodo.com/OswClient/B02465D320BDAD3B886F4F8F3259D1B7.cache.html

Is like there are problem with bosh bidding and onesocialweb
Really I not have more ideas Apache Proxy work but not work
opensocialweb with openfire
On Mar 12, 11:58 pm, Thiago <bara...@gmail.com> wrote:
> Hi,
>
> The Web Client is not working for me at.
> * HTTP Bind is enabled in openfire
> * Proxy doesnt seem to work
> * When running: sudo a2enmod proxy // The output is: Module proxy
> already enabled
>
> My Config File is the Following:
>
> <VirtualHost *:80>
>         DocumentRoot /var/www/onesocialweb
>
>         ServerAdmin webmas...@example.com

Gineta

unread,
Mar 13, 2011, 1:06:04 PM3/13/11
to onesocialweb
I already test make bidding with other chat software and MOD PROXY
WORKS
This means there any BUG in the connection of ONESOCIALWEB 0.7

Any ideas can any give any support
Thanks in advance

On Mar 13, 10:15 am, Gineta <aralk...@gmail.com> wrote:
> Is working for sure Apache I have the seam problem
> by example add this to your apache configuration
> ProxyPass /testhttp://google.com
> ProxyPassReverse /testhttp://google.com
>
> Try your domain.com/test and you go to see redirect to google
>
> I believe the problem is in OPENFIRE but I not get any errors in
> Openfire
> But In apache I got
> [Sun Mar 13 10:05:09 2011] [error] [client 8x.xx.x7.xx] File does not
> exist: /mnt/var/www/vhosts/chat/onesocialweb/images, referer:http://chat.freenodo.com/standard.css
> [Sun Mar 13 10:05:16 2011] [error] [client 8x.xx.x7.xx] File does not
> exist: /mnt/var/www/vhosts/chat/onesocialweb/OswClient/bosh, referer:http://chat.freenodo.com/OswClient/B02465D320BDAD3B886F4F8F3259D1B7.c...
> [Sun Mar 13 10:05:16 2011] [error] [client 8x.xx.x7.xx] File does not
> exist: /mnt/var/www/vhosts/chat/onesocialweb/OswClient/bosh, referer:http://chat.freenodo.com/OswClient/B02465D320BDAD3B886F4F8F3259D1B7.c...
Reply all
Reply to author
Forward
0 new messages