Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It doesn't let me run anything outside the public_html directory. So I want to disable it. Please help

share|improve this question

migrated from Apr 22 '11 at 14:37

This question came from our site for Ubuntu users and developers.

Virtualmin does not prevent you from running things outside of the suexec docroot. It is one of many options for running PHP applications.

Select the virtual server where you'd like to run applications outside of the suexec docroot, and click Server Configuration->Website Options.

There you can choose whether to run scripts as the server owner (which enables or disables suexec), among other things.

If you want that to be the default for all virtual servers created in the future, you can edit your Server Templates under Apache website. But I would recommend you only do this for the one virtual server that needs to be able to run stuff outside of /home.

And, are you sure you don't want to just install your applications into /home? It allows them to be backed up as part of the normal Virtualmin backup process, in addition to the security benefits of suexec.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.