On Tue, 1 Mar 2005, Alexander Dalloz wrote:
You can do so by configuring Apache using mod_proxy or mod_rewrite.
Please see the Apache documentation. As an *untested* guideline:
a) mod_proxy
ProxyVia On
ProxyPass /webmin
http://localhost:10000
ProxyPassReverse /webmin
http://localhost:10000
b) mod_rewrite
RewriteEngine On
RewriteRule ^/webmin(.*)
http://localhost:10000/$1 [P,L]
RewriteRule ^proxy:.* - [F]
This is given that Apache does server other sites too on standard HTTP
port 80.
I can't speak for mod_proxy, but using mod_rewrite won't work.
Using mod_rewrite literally tells the web browser to rewrite the requested
URL and ask for it...meaning that he'd point at
http://some.domain.com,
and apache would tell the browser to resend the request, but this time to
http://some.domain.com:10000.
Assigning a different port to webmin, or port redirection via NAT would
seem to be his only options.
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or
http://dogpound2.citadel.org
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request(a)bubbanfriends.org
with a message of:
subscribe