running scripts new install virtualmin

Hi all, new to this forum and new to virtualmin. I know there’s been other threads about this but i’ve tried everything and have hit a brick wall.

I’ve got a virtual server loaded with Centos5.5 Virtualmin is installed and my websites are all up and running fine. Only issue is:

I can’t run my formmail.cgi script anymore. I copied the site from one host to this one and it worked before fine, now I get this:
Not Found

The requested URL /cgi-bin/formmail.cgi was not found on this server.

Apache/2.2.3 (CentOS) Server at Port 80

I’ve tried putting various scripts on the site, and it does run a php programme I put up. But not my formmail.cgi

Thanks for any help,


It sounds like the URL it’s expecting it to be at is in “/cgi-bin/” – so in your case, the formmail.cgi script would need to exist in $HOME/cgi-bin.


That was totally it!! I feel stupid. Thanks a lot