apache2-suexec-custom (changed "/var/www" to "/home")
When I navigate to mydomain.com the url changes to mydomain.com/cgi-bin and I receive the following error in the browser:
Forbidden. You don’t have permission to access /cgi-bin/ on this server.
and the logged error is
attempt to invoke directory as script: /home/mydomain/cgi-bin/
I don’t think this is related to the php apps (Joomla and Wordpress) I’m running but rather has something to do with the way the user is being handled by apache or my conf settings.
Also, I’m not sure if it’s related but when logged in as the user (as opposed to root) I’m able to navigate out of the home directory.
Aside from changing the php execution mode I have made no other changes to the default settings in virtualmin.
Hmm, out of curiosity – are you running any live sites at the moment? Or are you just getting started?
If you’re in a position to format and start from scratch – the install.sh script available in the “Download” link above configures everything for you so that you end up with a working system out of the box.
So the process is:
Install Ubuntu 10.04
Run install.sh
Begin setting up your domains
You can also see the Virtualmin manual installation guide here: