Am Di, den 01.03.2005 schrieb Bob Brennan um 0:01: > Sorry - let me re-state the problem. I want to access from a computer > that is blocked from directly accessing any ports other than http:80. > I can't even use a POP or SMTP connection to the outside world because > ports 25 and 110 requests are blocked, so > http://myserver.net:anynumber will not work. It would have to be as > http://myserver.net/usermin. > > The question is how can I (or "can I") route a request to an http: > directory or file to the Usermin interface on localhost:20000? Or > access the Usermin pages as normal html/php/whatever directories/files > instead of a port interface. > bob 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. Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.14_FC2smp Serendipity 00:11:31 up 7 days, 11:20, load average: 0.09, 0.31, 0.48
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil