From: Sandro D. <san...@ti...> - 2003-02-10 19:41:50
|
Has anybody tried using webmin via proxypass module of apache. The advantage should be to leave only one port open to the world (I did this for ntop, and it almost works...;-). Whis are the possible disadventages? (eg.: no control over IP) I thought to do something like: ProxyPass /webmin/ https://localhost:10000/ RewriteEngine On RewriteLog "/tmp/webmin.log" RewriteLogLevel 9 RewriteCond %{HTTP_REFERER} localhost/webmin RewriteCond %{REQUEST_URI} !^/webmin RewriteRule "^/(.*)$" https://localhost/webmin/$1 [L,P] (this should only work from localhost, thought...). I get the message: You don't have permission to access /webmin/ on this server. Thanks in advance sandro *:-) I attach my webmin.conf: root=/usr/share/webmin mimetypes=/etc/mime.types port=10000 host=bluff.diade.it addtype_cgi=internal/cgi realm=Webmin Server logfile=/var/log/webmin/miniserv.log pidfile=/var/run/webmin.pid logtime=168 ssl=1 env_WEBMIN_CONFIG=/etc/webmin env_WEBMIN_VAR=/var/log/webmin logout=/etc/webmin/logout-flag listen=10000 userfile=/etc/webmin/miniserv.users keyfile=/etc/webmin/miniserv.pem loghost= log=1 logclear= blockhost_time= no_pam=0 session=1 logouttime= passdelay=0 syslog= blockhost_failures= preroot=theme_gehrigal -- Sandro Dentella *:-) e-mail: san...@ti... http://www.tksql.org TkSQL Home page - My GPL work |