tangerine0469
March 30th, 2011, 03:57 PM
Either I missed something or I eff'd something up...it's probably the latter...
I have installed webmin and can access it from my local network, when i try to configure it as a virtual server via Mod_proxy i have gotten a number of errors. i have searched both the forum and the web only to break through 1 brick wall only to hit another.
my current virtual host config is:
<VirtualHost *:80>
ServerAlias webmin.computercrasherz.com
ProxyPass / http://localhost:10000/
ProxyPassReverse / http://localhost:10000/
<Proxy *>
allow from all
</Proxy>
</VirtualHost>
and my proxy setting is:
<IfModule mod_proxy.c>
# If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.
#
# If you only want to use apache2 as a reverse proxy/gateway in
# front of some web application server, you DON'T need
# 'ProxyRequests On'.
#ProxyRequests On
#<Proxy *>
# AddDefaultCharset off
# Order deny,allow
# Deny from all
# #Allow from .example.com
#</Proxy>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#ProxyVia Off
</IfModule>
and lastly the error messages i get in /var/log/apache2/error.log are:
[Wed Mar 30 10:55:03 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:10000 (localhost) failed
[Wed Mar 30 10:55:03 2011] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Mar 30 10:55:05 2011] [error] proxy: HTTP: disabled connection for (localhost)
and a 503 Service Temporarily Unavailable on the browser trying to connect.
Any thought as to why this is happening?
Edit: i am running ubuntu server 10.10. i have it currently setup as a lamp/email server (both working).
I have installed webmin and can access it from my local network, when i try to configure it as a virtual server via Mod_proxy i have gotten a number of errors. i have searched both the forum and the web only to break through 1 brick wall only to hit another.
my current virtual host config is:
<VirtualHost *:80>
ServerAlias webmin.computercrasherz.com
ProxyPass / http://localhost:10000/
ProxyPassReverse / http://localhost:10000/
<Proxy *>
allow from all
</Proxy>
</VirtualHost>
and my proxy setting is:
<IfModule mod_proxy.c>
# If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.
#
# If you only want to use apache2 as a reverse proxy/gateway in
# front of some web application server, you DON'T need
# 'ProxyRequests On'.
#ProxyRequests On
#<Proxy *>
# AddDefaultCharset off
# Order deny,allow
# Deny from all
# #Allow from .example.com
#</Proxy>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#ProxyVia Off
</IfModule>
and lastly the error messages i get in /var/log/apache2/error.log are:
[Wed Mar 30 10:55:03 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:10000 (localhost) failed
[Wed Mar 30 10:55:03 2011] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Mar 30 10:55:05 2011] [error] proxy: HTTP: disabled connection for (localhost)
and a 503 Service Temporarily Unavailable on the browser trying to connect.
Any thought as to why this is happening?
Edit: i am running ubuntu server 10.10. i have it currently setup as a lamp/email server (both working).