#380 multiple usermin user via httpd reverse proxy

closed
Jamie Cameron
5
2009-08-13
2009-08-03
harry wwc
No

G'day,

environment: CentOS 5.3 (with updates to 3/8/9), webmin 1.480-1 / usermin 1.410-1 (both installed via noarch rpm)

I am a tafe teacher, and have a server that is accessible from the 'outside' only via port 80 - can not change this, corporate policy.

I have a number of students (about 30) that I have given access to the server via httpd reverse proxy (per instructions on webmin.com/apache.html) and applied same to both webmin and usermin.

under testing (i.e. just me and one or two other teachers) this worked beautifully.

now we have a double class - nearly 30 simultaneous logins to Usermin - and we have problems. Each user is receiving data back from another user's session. It appears that the reverse proxy is not keeping the sessions separated.

Is there something I can tweak (/etc/usermin/config ??) to allow the correct behaviour - i.e. multiple users logged in with each users data-stream remaining separate?

kind regards,

Harry
harold.woodward-clarke [at] tafensw.edu.au

Discussion

  • update: I loaded onto a 'test' system and attempted the 'first' method at webmin.com/uapache.html - running the cgi files directly via httpd rather than do a reverse proxy redirect.
    I think I've hit an issue with suexec - it appears (from suexec -V) that the 'min uid' for this to work is 500, and the apache user is uid 48 - waaay below the '500'.
    any hints? It would appear to me that the only real way I will get this to happen is using the reverse proxy details, and that (at the moment) appears to be not doing what I wish.
    thanks,

    Harry
    harold.woodward-clarke [at] tafensw.edu.au

     
  • Jamie Cameron
    Jamie Cameron
    2009-08-04

    Do you perhaps have caching enabled in Apache? That's the only way I can see session sharing or duplication happening. If so, you should turn it off. Also, you could try adding :

    nokeepalive=1

    to /etc/usermin/config , and then re-starting Usermin.

     
  • harry wwc
    harry wwc
    2009-08-04

    thanks for that - have just done this (service usermin restart) with the change in the /etc/usermin/config file as suggested. I have a class (half the number from last night :) and we will give it a shot then.

    thanks for the assist

    kind regards,

    Harry
    long time webmin user, first time usermin user :')

     
  • harry wwc
    harry wwc
    2009-08-04

    p.s. caching is _not_ enabled in httpd.conf(5) - - well, they appear not to be enabled - the comments in front of the lines infer that it is disabled
    .h

     
  • Hi Jamie,

    at first blush it appears to be 'fine' now - but we didn't have all the madness of "new toy, must play" of last night.
    will "hold off" on closing this until friday if that's ok?

    Harry

     
  • Jamie Cameron
    Jamie Cameron
    2009-08-04

    Ok, let me know if it works out OK..

     
  • harry wwc
    harry wwc
    2009-08-13

    • status: open --> closed
     
  • harry wwc
    harry wwc
    2009-08-13

    Sorry for the delay.

    All appears to be "well" with the change in the usermin config file

    brilliant, and many thanks.

    Kind reg's,

    Harry