#4465 Running Processes and Webmin servers on proxyed not working

1.670
open
nobody
None
5
2014-10-06
2014-08-29
colinAA
No

I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

Error - File not found

also the link 'Webmin Servers', which should return you to the head node webmin, points to

https://localhost:10000

instead of

https://servername.com/directory.

So far I have not found any other problems due to the directory proxy.

Related

Bugs: #4465

Discussion

  • Jamie Cameron

    Jamie Cameron - 2014-08-29

    So you are accessing Webmin proxied via Apache, and then other remote Webmin installs proxied via the first one?

     
    • colinAA

      colinAA - 2014-08-30

      Yes that is correct. The problems are the Webmin links on the server that is on a private network behind the head node.

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 30 August 2014 00:30
      To: [webadmin:bugs]
      Subject: [webadmin:bugs] #4465 Running Processes and Webmin servers on proxyed not working

      So you are accessing Webmin proxied via Apache, and then other remote Webmin installs proxied via the first one?


      [bugs:#4465]http://sourceforge.net/p/webadmin/bugs/4465 Running Processes and Webmin servers on proxyed not working

      Status: open
      Group: 1.670
      Created: Fri Aug 29, 2014 09:52 PM UTC by colinAA
      Last Updated: Fri Aug 29, 2014 09:52 PM UTC
      Owner: nobody

      I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
      The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

      Error - File not found

      also the link 'Webmin Servers', which should return you to the head node webmin, points to

      https://localhost:10000

      instead of

      https://servername.com/directory.

      So far I have not found any other problems due to the directory proxy.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4465/https://sourceforge.net/p/webadmin/bugs/4465

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions


      This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

       

      Related

      Bugs: #4465

  • Jamie Cameron

    Jamie Cameron - 2014-08-31

    Ok, and is this problem specific to the Running Processes module?

     
    • colinAA

      colinAA - 2014-09-01

      Hi Jamie
      At the moment this is the only module that this occurs in. I do not use all of the modules but I have attached a list of the modules that are enabled and all produce a an initial page accept the running processes. Note that the bold Error - File not found is produced when using FireFox 31 and IE 11 produces its standard Webpage not found when accessing the running processes module.

      Colin

      Colin A Anderson
      Electronics + IT Workshop
      Room H064
      Life & Health Sciences
      University of Ulster
      Coleraine
      BT52 1SA
      Tel (44)2870 124509
      e-mail ca.anderson@ulster.ac.uk

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 31 August 2014 04:30
      To: [webadmin:bugs]
      Subject: [webadmin:bugs] #4465 Running Processes and Webmin servers on proxyed not working

      Ok, and is this problem specific to the Running Processes module?


      [bugs:#4465]http://sourceforge.net/p/webadmin/bugs/4465 Running Processes and Webmin servers on proxyed not working

      Status: open
      Group: 1.670
      Created: Fri Aug 29, 2014 09:52 PM UTC by colinAA
      Last Updated: Fri Aug 29, 2014 11:29 PM UTC
      Owner: nobody

      I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
      The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

      Error - File not found

      also the link 'Webmin Servers', which should return you to the head node webmin, points to

      https://localhost:10000

      instead of

      https://servername.com/directory.

      So far I have not found any other problems due to the directory proxy.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4465/https://sourceforge.net/p/webadmin/bugs/4465

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions


      This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

       

      Related

      Bugs: #4465

  • Jamie Cameron

    Jamie Cameron - 2014-09-01

    Can you try right-clicking on Running Processes, copy the URL and paste it here?

    Also, can you paste the lines that get logged to Apache on your front-end system when you click on that link? There should be at least two.

     
    • colinAA

      colinAA - 2014-09-02

      Hi Jamie
      Below is the URL of the link to 'running processes' for the server behind the head node. Below that is the url for the link 'Webmin Servers' which I think should be 'https:// {server dns name}/webmin/' at least for one server deep.

              Below that is the last 6 lines of ssl_access_log and the ssl_request_log  There was no lines in ssl_error_log for these transactions.
      

      Many thanks
      Colin

      https://{server dns name}/webmin/servers/link.cgi/1371139016/proc/https://%7bserver%20dns%20name%7d/webmin/servers/link.cgi/1371139016/proc/

      https://localhost:10000/

      ssl_access_log

      193.61.160.143 - - [02/Sep/2014:16:15:48 +0100] "GET /webmin/servers/ HTTP/1.1" 200 17715
      193.61.160.143 - - [02/Sep/2014:16:15:49 +0100] "GET /webmin/servers/link.cgi/1371139016/ HTTP/1.1" 200 814
      193.61.160.143 - - [02/Sep/2014:16:15:50 +0100] "GET /webmin/servers/link.cgi/1371139016/left.cgi HTTP/1.1" 200 14822
      193.61.160.143 - - [02/Sep/2014:16:15:50 +0100] "GET /webmin/servers/link.cgi/1371139016/right.cgi?open=system&open=status HTTP/1.1" 200 2646
      193.61.160.143 - - [02/Sep/2014:16:15:55 +0100] "GET /webmin/servers/link.cgi/1371139016/proc/ HTTP/1.1" 302 -
      193.61.160.143 - - [02/Sep/2014:16:15:56 +0100] "GET /webmin/webmin/servers/link.cgi/1371139016/proc/index_search.cgi?user=&mode=1&match=dd&cpu=&fs=%2F&files= HTTP/1.1" 404 32

      ssl_request_log

      [02/Sep/2014:16:15:48 +0100] 193.61.160.143 TLSv1 AES128-SHA "GET /webmin/servers/ HTTP/1.1" 17715
      [02/Sep/2014:16:15:49 +0100] 193.61.160.143 TLSv1 AES128-SHA "GET /webmin/servers/link.cgi/1371139016/ HTTP/1.1" 814
      [02/Sep/2014:16:15:50 +0100] 193.61.160.143 TLSv1 AES128-SHA "GET /webmin/servers/link.cgi/1371139016/left.cgi HTTP/1.1" 14822
      [02/Sep/2014:16:15:50 +0100] 193.61.160.143 TLSv1 AES128-SHA "GET /webmin/servers/link.cgi/1371139016/right.cgi?open=system&open=status HTTP/1.1" 2646
      [02/Sep/2014:16:15:55 +0100] 193.61.160.143 TLSv1 AES128-SHA "GET /webmin/servers/link.cgi/1371139016/proc/ HTTP/1.1" -
      [02/Sep/2014:16:15:56 +0100] 193.61.160.143 TLSv1 AES128-SHA "GET /webmin/webmin/servers/link.cgi/1371139016/proc/index_search.cgi?user=&mode=1&match=dd&cpu=&fs=%2F&files= HTTP/1.1" 32

      Colin A Anderson
      Electronics + IT Workshop
      Room H064
      Life & Health Sciences
      University of Ulster
      Coleraine
      BT52 1SA
      Tel (44)2870 124509
      e-mail ca.anderson@ulster.ac.uk

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 01 September 2014 16:23
      To: [webadmin:bugs]
      Subject: [webadmin:bugs] #4465 Running Processes and Webmin servers on proxyed not working

      Can you try right-clicking on Running Processes, copy the URL and paste it here?

      Also, can you paste the lines that get logged to Apache on your front-end system when you click on that link? There should be at least two.


      [bugs:#4465]http://sourceforge.net/p/webadmin/bugs/4465 Running Processes and Webmin servers on proxyed not working

      Status: open
      Group: 1.670
      Created: Fri Aug 29, 2014 09:52 PM UTC by colinAA
      Last Updated: Sun Aug 31, 2014 03:29 AM UTC
      Owner: nobody

      I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
      The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

      Error - File not found

      also the link 'Webmin Servers', which should return you to the head node webmin, points to

      https://localhost:10000

      instead of

      https://servername.com/directory.

      So far I have not found any other problems due to the directory proxy.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4465/https://sourceforge.net/p/webadmin/bugs/4465

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions


      This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

       

      Related

      Bugs: #4465

  • Jamie Cameron

    Jamie Cameron - 2014-09-02

    Ok, I think I see the issue. Try adding the line webprefixnoredir=1 to /etc/webmin/config on the master system.

     
    • colinAA

      colinAA - 2014-09-03

      Hi Jamie
      Sorry but the head node already has webprefixnoredir=1 in it. Copy attached

      Colin

      Colin A Anderson
      Electronics + IT Workshop
      Room H064
      Life & Health Sciences
      University of Ulster
      Coleraine
      BT52 1SA
      Tel (44)2870 124509
      e-mail ca.anderson@ulster.ac.uk

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 03 September 2014 00:21
      To: [webadmin:bugs]
      Subject: [webadmin:bugs] #4465 Running Processes and Webmin servers on proxyed not working

      Ok, I think I see the issue. Try adding the line webprefixnoredir=1 to /etc/webmin/config on the master system.


      [bugs:#4465]http://sourceforge.net/p/webadmin/bugs/4465 Running Processes and Webmin servers on proxyed not working

      Status: open
      Group: 1.670
      Created: Fri Aug 29, 2014 09:52 PM UTC by colinAA
      Last Updated: Mon Sep 01, 2014 03:22 PM UTC
      Owner: nobody

      I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
      The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

      Error - File not found

      also the link 'Webmin Servers', which should return you to the head node webmin, points to

      https://localhost:10000

      instead of

      https://servername.com/directory.

      So far I have not found any other problems due to the directory proxy.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4465/https://sourceforge.net/p/webadmin/bugs/4465

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions


      This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

       

      Related

      Bugs: #4465

  • Jamie Cameron

    Jamie Cameron - 2014-09-04

    Sorry, I got this mixed up. Try setting webprefixnoredir=0 instead

     
    • colinAA

      colinAA - 2014-09-04

      Hi Jamie
      Sorry with webprefixnoredir=0 in the head node running processes still the same when accesses on a node as is the link back to Webmin servers. In addition many of the pages are missing text, tick boxes etc.

              Is there anything that needs to be set in the nodes Webmin that would help.
      

      Colin

      Colin A Anderson
      Electronics + IT Workshop
      Room H064
      Life & Health Sciences
      University of Ulster
      Coleraine
      BT52 1SA
      Tel (44)2870 124509
      e-mail ca.anderson@ulster.ac.uk

      From: Jamie Cameron [mailto:jcameron@users.sf.net]
      Sent: 04 September 2014 03:07
      To: [webadmin:bugs]
      Subject: [webadmin:bugs] #4465 Running Processes and Webmin servers on proxyed not working

      Sorry, I got this mixed up. Try setting webprefixnoredir=0 instead


      [bugs:#4465]http://sourceforge.net/p/webadmin/bugs/4465 Running Processes and Webmin servers on proxyed not working

      Status: open
      Group: 1.670
      Created: Fri Aug 29, 2014 09:52 PM UTC by colinAA
      Last Updated: Tue Sep 02, 2014 11:20 PM UTC
      Owner: nobody

      I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
      The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

      Error - File not found

      also the link 'Webmin Servers', which should return you to the head node webmin, points to

      https://localhost:10000

      instead of

      https://servername.com/directory.

      So far I have not found any other problems due to the directory proxy.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4465/https://sourceforge.net/p/webadmin/bugs/4465

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions


      This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

       

      Related

      Bugs: #4465

    • colinAA

      colinAA - 2014-09-13

      Hi Jamie
      I have discovered another module Network Utilities with problems. On the head node the links on the initial page are ok but the links on the sequent pages do not have the directory name added though the return to module index link is correct.

      Have you had any luck on the running process module ? As this is a very useful on the nodes.

      Colin


      This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

       
      • colinAA

        colinAA - 2014-09-13

        Hi
        I have had a chance to look at the code and found the problem with the link back to the previous Webmin server. The environmental variable HTTP_WEBMIN_SERVERS is not getting set correctly on the nodes. However I cannot see where it is getting set to http://localhost:10000 in the code.

        Colin

        From: colinAA [mailto:caanderson@users.sf.net]
        Sent: 13 September 2014 12:01
        To: [webadmin:bugs]
        Subject: [webadmin:bugs] Re: #4465 Running Processes and Webmin servers on proxyed not working

        Hi Jamie
        I have discovered another module Network Utilities with problems. On the head node the links on the initial page are ok but the links on the sequent pages do not have the directory name added though the return to module index link is correct.

        Have you had any luck on the running process module ? As this is a very useful on the nodes.

        Colin


        This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.ukpostmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under rel! evant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA


        [bugs:#4465]http://sourceforge.net/p/webadmin/bugs/4465 Running Processes and Webmin servers on proxyed not working

        Status: open
        Group: 1.670
        Created: Fri Aug 29, 2014 09:52 PM UTC by colinAA
        Last Updated: Thu Sep 04, 2014 02:07 AM UTC
        Owner: nobody

        I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
        The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

        Error - File not found

        also the link 'Webmin Servers', which should return you to the head node webmin, points to

        https://localhost:10000

        instead of

        https://servername.com/directory.

        So far I have not found any other problems due to the directory proxy.


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4465/https://sourceforge.net/p/webadmin/bugs/4465

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions


        This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

         

        Related

        Bugs: #4465

      • colinAA

        colinAA - 2014-09-13

        Hi Janie again
        I have been looking at the running processes problem. Proc/index.cgi redirects to a series of cgi files but does not get proxied at all.

        Colin

        From: colinAA [mailto:caanderson@users.sf.net]
        Sent: 13 September 2014 12:01
        To: [webadmin:bugs]
        Subject: [webadmin:bugs] Re: #4465 Running Processes and Webmin servers on proxyed not working

        Hi Jamie
        I have discovered another module Network Utilities with problems. On the head node the links on the initial page are ok but the links on the sequent pages do not have the directory name added though the return to module index link is correct.

        Have you had any luck on the running process module ? As this is a very useful on the nodes.

        Colin


        This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.ukpostmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under rel! evant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA


        [bugs:#4465]http://sourceforge.net/p/webadmin/bugs/4465 Running Processes and Webmin servers on proxyed not working

        Status: open
        Group: 1.670
        Created: Fri Aug 29, 2014 09:52 PM UTC by colinAA
        Last Updated: Thu Sep 04, 2014 02:07 AM UTC
        Owner: nobody

        I look after a small cluster of CentOS 6.5 servers and use webmin 1.70 to maintain them. I have webmin proxyed to a subdirectory of the headnode to allow apache to deliver other http and https pages.
        The main headnode webmin works 100% as far as I have found so far. However when accessing a node through the headnode the system/ running processes returns in large bold letters

        Error - File not found

        also the link 'Webmin Servers', which should return you to the head node webmin, points to

        https://localhost:10000

        instead of

        https://servername.com/directory.

        So far I have not found any other problems due to the directory proxy.


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/4465/https://sourceforge.net/p/webadmin/bugs/4465

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions


        This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

         

        Related

        Bugs: #4465

  • colinAA

    colinAA - 2014-10-06

    Hi Jamie and anybody following this thread.

    Having found time to look further in to my problems I have discovered and cured the problems.
    The Webmin config file has the following settings
    relative_redir=1
    webprefixnoredir=1
    webprefix=/webmin

    Link to previous Webmin not correct

    First I should say that I forgot to say that I use the Blue-Framed theme where the left panel has a link back to the previous server labelled 'Webmin Servers'. This is set in left.cgi to $ENV{'HTTP_WEBMIN_SERVERS'} (line 150)if it has a value. This however is the absolute address of the server left.cgi is running not the previous server. If the link is set to '../../..' this returns the browser to the calling Webmin server and will work no matter how many jumps are made.

    Running processes on nodes page not found.

    The cure for this is twofold. First in the headnode webmin config file relative_redir needs to be set to 1 and then in web-lib-funcs.pl line 1266 that occurs in the subroutine redirect does not require the $1/ in the setting of the $url when doing relative redirection (possibly also in line 1269). $1 is set to the folder for the command in this case '/proc' which the previous set of lines are dealing with according to the comments.

    A further problem I have come across during this is with Network Utilities (nettools). In several places the modual uses the absolute path to call other of its scripts (/nettools/ping.cgi). This does not work when webmin is setup to run from a directory. By adding the line '$progname =~ s/^\/[^\/]*\///;' after line 54 in nettools-lib.pl the /nettools/ is striped out.
    Also the config_save.cgi script calls back the calling modual relative to the website and needs $gconfig{'webprefix'} added before the modual name in the call to redirect in line 51.

    Original line &redirect("/$m/");
    New line &redirect("$gconfig{'webprefix'}/$m/");


    This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA

     
  • Jamie Cameron

    Jamie Cameron - 2014-10-06

    Thanks for your analysis! Perhaps you could email me a patch with these changes, at jcameron@webmin.com ?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks