running scripts new install virtualmin

3 posts / 0 new
Last post
#1 Mon, 07/18/2011 - 10:37
mdennison

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 www.meerkatfilms.co.uk 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, M

Mon, 07/18/2011 - 10:42
andreychek

Howdy,

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.

-Eric

Mon, 07/18/2011 - 11:09 (Reply to #2)
mdennison

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

Topic locked