From: Vianney L. <vi...@fr...> - 2009-03-06 06:41:47
|
> On 05/Mar/2009 05:50 Vianney Lejeune wrote .. >> >> Hello, >> >> I encounter a problem using Usermin 1.380 and Apache 2 on Debian >> Etch (from the repository). Typing http://admin.xxxx.xxx, I get: >> Failed to determine Webmin root from SERVER_ROOT, SCRIPT_FILENAME >> or the full command line >> >> >> I applied the tutorial found at: http://www.webmin.com/uapache.html >> (I just didn't set up the Auth method) >> >> So I set up this virtual host: >> >> ===> >> <VirtualHost *> >> DocumentRoot /usr/share/usermin >> AddHandler cgi-script .cgi >> DirectoryIndex index.cgi >> SetEnv WEBMIN_CONFIG /etc/usermin >> SetEnv WEBMIN_VAR /var/usermin >> SetEnv SERVER_ROOT /usr/share/munin >> SetEnv MINISERV_CONFIG /etc/usermin/miniserv.conf >> SetEnv BASE_REMOTE_USER user >> >> <Directory /usr/share/usermin> >> Options ExecCGI Indexes FollowSymLinks MultiViews >> AllowOverride None >> Order allow,deny >> allow from all >> </Directory> >> ServerName admin.xxxx.xxx >> </VirtualHost> >> ===> >> > Before looking into this, I was wondering my you want to use Apache > to run Webmin? It has it's own built-in webserver that runs on port > 10000 and works perfectly out of the box.. > > - Jamie > > > On 05/Mar/2009 05:50 Vianney Lejeune wrote .. > > Hello, > > I encounter a problem using Usermin 1.380 and Apache 2 on Debian > Etch (from > the repository). Typing [1]http://admin.xxxx.xxx, I get: > _________________________________________________________________ > > Failed to determine Webmin root from SERVER_ROOT, SCRIPT_FILENAME or > the full > command line > _________________________________________________________________ > > I applied the tutorial found at: [2]http://www.webmin.com/uapache.html > (I > just didn't set up the Auth method) > > So I set up this virtual host: > > ===> > > <VirtualHost *> > DocumentRoot /usr/share/usermin > AddHandler cgi-script .cgi > DirectoryIndex index.cgi > SetEnv WEBMIN_CONFIG /etc/usermin > SetEnv WEBMIN_VAR /var/usermin > SetEnv SERVER_ROOT /usr/share/munin > SetEnv MINISERV_CONFIG /etc/usermin/miniserv.conf > SetEnv BASE_REMOTE_USER user > <Directory /usr/share/usermin> > Options ExecCGI Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > </Directory> > ServerName admin.xxxx.xxx > </VirtualHost> > ===> > > Before looking into this, I was wondering my you want to use > Apache to run > Webmin? It has it's own built-in webserver that runs on port 10000 > and works > perfectly out of the box.. > - Jamie I simply would like to centralize the admin tools on a subdomain name (usermin is the only one to listen on the non-http port). Regards, Vianney |