Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

Webmin requires the trailing slash when going through an Apache proxy. Try connecting to https://xxxxxxxxxxxxxxxxxxxx.amazonaws.com/admin/webmin/ instead of https://xxxxxxxxxxxxxxxxxxxx.amazonaws.com/admin/webmin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.