scuba323 / ijab

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

RewriteRule not work with postdata #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. If i take ijab on base http://sites:5280/ijab, it work fine.
2. Now I want to put ijab to my :80 sites http://sites/ijab
3. Then I make .htaccess to get redirect http-bind on ejabberd

What is the expected output? What do you see instead?
my .htaccess

AddDefaultCharset UTF-8
Options +MultiViews
<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteRule http-bind/ http://sites:5280/http-bind/ [P]
</IfModule>

it doesn't work :(

if i change .htaccess to :
AddDefaultCharset UTF-8
Options +MultiViews
<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteRule http-bind/ http://sites:5280/http-bind/
</IfModule>

redirect http-bind work, but not POST data, onlye GET redirect..so http-bind 
from port :5280 not received anything.. :(

I'm work on ubuntu server, apache2,mysql5,php5, ejabberd 2.1.9, ijab 3.2

Hopefully I'll got solution here...

Original issue reported on code.google.com by aginda...@gmail.com on 28 Nov 2011 at 4:53