Symbolic link

5 posts / 0 new
Last post
#1 Thu, 08/09/2007 - 01:57
toontje

Symbolic link

Dear all,

I just have installed the latest version of webmin 1.360 on my debian server. I'm able to start webmin on https://my_ip:10000, but i want to create a symbolic link to the login page. so i can link a button to it.

this is what i mean: ln -s {target dir/file} /var/www/site

I don't know the file where to start(the main/start page of webmin).

Can anyone tells me the file where https://my_ip:10000 starts, so i can link it.

thanks for any respond.

Anton

Thu, 08/09/2007 - 02:07
Joe
Joe's picture

A symbolic link won't do what you're after.

You'd want to create either a redirect or a proxy rule in your webserver.

--

Check out the forum guidelines!

Thu, 08/09/2007 - 11:54 (Reply to #2)
toontje

Thanks for you're respond,

that is exactly my point, i want to know the file/dir where to redirect (like /usr/share/webmin or so).

i want to create a index folder. when you clicking on the link webmin it redirects you to the login page.

Regards,
Anton

Thu, 08/09/2007 - 19:36 (Reply to #3)
Joe
Joe's picture

Hey Anton,

Ah, I guess I didn't make clear that Webmin doesn't run under Apache--and Apache can't run Webmin very well (and Virtualmin even less so). You'd want to proxy over to Webmin's port if you want it to appear as a subdirectory of an Apache website. You can't simply tell Apache to load Webmin files directly.

Here's the documentation for doing that:

http://doxfer.com/Webmin/UnderApache#Webmin_Proxied_Through_Apache

There's also documentation at the top of that page for running Webmin under Apache, but this is not recommended.

--

Check out the forum guidelines!

Thu, 08/09/2007 - 19:38 (Reply to #4)
Joe
Joe's picture

BTW-The Webmin home is possibly different depending on OS and how you installed. If installed from RPM, it's in /usr/libexec/webmin. If deb, it's in /usr/share/webmin. If tarball, it's probably in /usr/local/webmin-1.360 or /opt/webmin-1.360 (but it is configurable at install time).

--

Check out the forum guidelines!

Topic locked