LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache2 and mod_proxy (http://www.linuxquestions.org/questions/linux-software-2/apache2-and-mod_proxy-434168/)

Maniac0Maniac 04-11-2006 03:11 PM

Apache2 and mod_proxy
 
Can someone point me in the right direction please...?

I’m trying to set up Webmin so that I can access it from port 80, but Apache is running on that port. I’ve discovered that I can use apache to insert Webmin as a “virtual” site (into the URL) by using ProxyPass. I can also use <Virtual Host> to access it as part of the FQ Domain name.

I've not been able to get any of the two possible solutions to work.
Has anyone had any success with this? Some woking examples would be a bonus!

Thanks

david_ross 04-14-2006 08:49 AM

I've not tried it specifically with webmin however I've used mod_proxy before. Perhaps you can elaborate on what the actual problem is when you try to set it up and post a copy of your configuration.

paul_mat 04-14-2006 09:59 PM

well couldn't you just stop apache and set webmin on that port?

Maniac0Maniac 04-17-2006 07:51 PM

Can't stop apache. It's serving pages. I did manage to get it to go with ProyPass though.

For other peeps trying to get it to go :

add this to httpd.conf:
SSLProxyEngine on
ProxyPass /webmin/ https://YourWebServerURLHere:10000/
ProxyPassReverse /webmin/ https://YourWebServerURLHere:10000/

and add this to webmin config file:
webprefix=/webmin


All times are GMT -5. The time now is 01:40 PM.