Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 askubuntu.com Apr 22 '11 at 14:37

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

add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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