raecosia / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[jappix4roundcube] Ejabberd is installed in a subfolder of Roundcube installation #673

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: 9c0dcd69dbf0daa0c33da54b4d5e37e9 (Don't modify this token!)
Version: 2.0.13 (16-02-2014)
PHP: 5.3.28
RCMAIL: 1.0.0
Database: mysql
SERVER: Apache/2.2.3 (CentOS)
----
I.  Issue Description:
Don't list users connected, the jappix chat is blocked
Pre-requisites:
- Ejabbered is installed

II. Steps to reproduce the Issue:
1. Install the plugin
2. Embeded jappix on roundcube on the root path
3. Change htaccess settings:
-----------------
RewriteRule ^/?(http-bind)$ - [F]
RewriteRule ^/?(jappix)$ - [F]
RewriteRule ^(?!jappix)(\.?[^\.]+)$ - [F]
RewriteRule ^jappix/php/(.*) jappix/server/$1     <--- To get "get.php" work
RewriteRule ^jappix/snd/(.*) jappix/app/sounds/$1   <---- resources are not 
recovery correctly, also app was unblocked(jappix/app/.htaccess was deleted)

Change ssl.conf
-----------------
ProxyRequests off
ProxyPreserveHost On

ProxyTimeout 600
ProxyPass /http-bind http://127.0.0.1:5280/http-bind
ProxyPassReverse /http-bind http://127.0.0.1:5280/http-bind

Config.inc.php
---------------
<?php
/* Jappix Domain */
$config['jabber_domain'] = 'martinezrodriguez.com.pe';

/* Jappix URL */
$config['jappix_url'] = 'https://mail.martinezrodriguez.com.pe/jappix/';

/* Use Mini Jappix */
$config['jappix_mini'] = true;

/* Database cache
   Cache js and css files in database. This is only
   recommended if you use a public Jappix service to avoid
   delays on page loading if the Jappix service is busy
   or down. */
$config['jappix_cache'] = false;
?>

Original issue reported on code.google.com by mmartine...@gmail.com on 7 May 2014 at 8:18

GoogleCodeExporter commented 8 years ago
Please cancel this request, the issue is on the configuration of htaccess, the 
following rule was applied in order to fix it

RewriteRule ^(?!installer)^(?!jappix)^(?!http-bind)(\.?[^\.]+)$ - [F]

Original comment by mmartine...@gmail.com on 8 May 2014 at 9:13

GoogleCodeExporter commented 8 years ago

Original comment by roland.l...@gmail.com on 16 May 2014 at 5:27

GoogleCodeExporter commented 8 years ago
I recommend not to run applications in a subfolder of Roundcube. The Roundcube 
folder is for Roundcube and its plugins and for nothing else. Use a separate 
vhost instead (f.e. jappix.myroundcube.com or whatever).

Original comment by roland.l...@gmail.com on 17 May 2014 at 11:31

GoogleCodeExporter commented 8 years ago

Original comment by roland.l...@gmail.com on 17 May 2014 at 11:33