apache proxypass to webmin

Posted by Ricardo on Server Fault See other posts from Server Fault or by Ricardo
Published on 2012-03-25T21:10:43Z Indexed on 2012/03/25 23:32 UTC
Read the original article Hit count: 315

Filed under:
|

I have a problem with apache2 webmin redirect.

My ProxyPass is:

ProxyRequests Off
ProxyPreserveHost On
SSLProxyEngine On

ProxyPass /admin/webmin/ https://localhost:10000/
ProxyHTMLURLMap https://localhost:10000 /admin/webmin

<Location /admin/webmin/>
 ProxyHTMLExtended On
 SetOutputFilter proxy-html
 ProxyPassReverse https://localhost:10000/
 ProxyPassReverse https://xxxxxxxxxxxxxxxxxxxx.amazonaws.com:10000/
 Order allow,deny
 Allow from all
</Location>

When I connect using https://xxxxxxxxxxxxxxxxxxxx.amazonaws.com:10000/ there is no problem. But when I connect use https://xxxxxxxxxxxxxxxxxxxx.amazonaws.com/admin/webmin the page lost css and after login show me the error:

The requested URL /session_login.cgi was not found on this server.

I think is an error with my ProxyPass but I don´t know what is.

© Server Fault or respective owner

Related posts about apache2

Related posts about webmin