Bug Reports

Use this forum to report problems you are having with Mingle and to seek resolution with fellow community members

This is a public Discussion Area  publicRSS

Post

    mattgow
    Redirect URLs behaving strangely on creation/deletion of...
    Post posted June 2, 2009 by mattgow, last edited February 9, 2012
    1385 Views, 4 Comments
    Topic:
    Redirect URLs behaving strangely on creation/deletion of properties & projects
    Body:

    If I use Firefox 3 to do the following actions...

    • Create a new project
    • Create a new card property
    • Confirm deletion of a card property

    ...it works but I am sent to an "Address not found" error page. An example of a URL I am redirected to after creating a new project called "Job Allocations" is:

    http://mingle.crossroads.org.hkhttp%3a%2f%2fmingle.crossroads.org.hk%2fprojects%2fjob_allocations/
    

    A little video of me creating a new card property with the same effect is at http://www.screencast.com/t/AUhZJH6h

    The same actions taken using Google Chrome don't redirect at all (I stay on the same page as though nothing has happened). If I then click the "create" button again I am still on the same page but I get status messages at the top as shown in this screen grab

    Chrome after hitting save the second time

    Any ideas what is causing this? The only idea I've had is that something is mangling URLs along the way. We have Mingle behind Apache. The rewrite rule in Apache is

    RewriteRule ^/(.*)$ http://localhost:9100/$1 [P,QSA,L]

    Thanks for any help you can provide

    Comment

     

    • Barrow Kwan
      posted June 4, 2009 by Barrow Kwan

      are you using mod_proxy?  It seems to me a mod_proxy issue. 

      Can you check if you have enabled mod_proxy in your apache?

      if mod_proxy is enabled, check if you have this in your configuration

      ProxyPassReverse / http://localhost:9100/

      it will be helpful if you can post your apache configuration.

    • Show/Hide Replies
      mattgow
      posted October 7, 2009 by mattgow

      We have noticed that if we access Mingle directly we do not face this problem so there is definitely something wrong in this chain. We have tried the following options in Apache with the same results. Ideas?

      OPTION 1: Using mod_rewrite:

      RewriteEngine On
      RewriteRule ^/(.*)$ http://localhost:9100/$1 [P,QSA,NE,L]

      …and…

      RewriteEngine On
      RewriteRule ^/(.*)$ http://localhost:9100/$1 [P,QSA,L]

      OPTION 2: With mod_proxy:

      ProxyPreserveHost On
      ProxyRequests Off
      ProxyPass / http://localhost:9100/

      • Barrow Kwan
        posted October 8, 2009 by Barrow Kwan

        I saw you have a ticket open with our support team.  If you can post your Apache configuration on that ticket, we can look into that for you.  ( or you can post it here in the community site if you are comfortable ).  Although we might not be able to find a clue from your Apache configuration, it will be helpful if we have that information.

        I have mentioned about ProxyPassReverse in my previous post but I didn't seem to see you have that option in either of your options above.  Did you have that in your configuration?

        with mod_proxy, the simple version will be

        ProxyPass / http://localhost:9100/

        ProxyPassReverse / http://localhost:9100/

    • Brian Smith
      posted January 10, 2012 by Brian Smith

      I am having the same issue with Mingle 3.3.1.  Was modifying apache configuration the ultimate fix?  Please let me know so that I have a place to start with this.

       

      Thanks