New installation: Can my public user access Virtualmin?

6 posts / 0 new
Last post
#1 Thu, 10/01/2009 - 17:54
Jude

New installation: Can my public user access Virtualmin?

Hello,

I just installed my virtualmin GPL and I am wondering if my user (wan) can access it through Usermin?

Also, I do have another question:

I was trying to enable the plugin features but I am getting an error message that says:

The Suexec command on your system is configured to run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

Can someone please help me with this?

Thanks.

Thu, 10/01/2009 - 22:19
andreychek

I just installed my virtualmin GPL and I am wondering if my user (wan) can access it through Usermin?

This would work similarly to what we were discussing over here:

http://www.virtualmin.com/node/11657#comment-50891

Virtualmin and Usermin each run on a particular port.

To access Virtualmin from the outside world, you'd need to forward port 10000 on your router to your server. For Usermin, you'd forward port 20000.

I was trying to enable the plugin features but I am getting an error message that says:

That suggests that you don't have the Virtualmin Apache packages installed.

How did you go about installing Virtualmin?

We typically recommend using the install.sh script, which installs and configures the various packages for you.

So solve the problem, you could either manually install Virtualmins Apache packages, you could disable suexec in System Settings -> Server Templates -> Apache Website, or you could re-compile suexec to use the correct base directory.

-Eric

Fri, 10/02/2009 - 22:10 (Reply to #2)
Jude

Where do I find this -- "disable suexec in System Settings -> Server Templates -> Apache Website.." by the way?

OUr server uses Linux - Fedora.

Thanks again.

Fri, 10/02/2009 - 22:13 (Reply to #3)
andreychek

When logging into Virtualmin, click System Settings -> Server Templates -> Apache Website, and set "Automatically add appropriate SuExec directive" to "No".

-Eric

Sat, 10/03/2009 - 20:30 (Reply to #4)
Jude

I did change the SuExec directive to "No", now Virtualmin is enabled within WEbmin. One thing after it was enabled, it stopped the Proftp to work. Now PROFTP stopped working.

Also, can I have virtualmin enabled with Usermin? If so, how?

Thanks.

Sat, 10/03/2009 - 21:18 (Reply to #5)
andreychek

The suexec directive and ProFTP shouldn't be related.

I'd try restarting ProFTP from within Virtualmin. Or, you can always do that from the command line as well.

Also, can I have virtualmin enabled with Usermin? If so, how?

Sure, most Virtualmin users also have Usermin enabled.

Then run on separate ports though -- by default, Virtualmin runs on port 10000, Usermin is on port 20000.

-Eric

Topic locked