I am using Ubuntu 10.10 with ISP config 3, I have my web site working, http://www.ratsupport.com, and I can ftp into the directories and put the scripts into the proper directories, but when I do http://www.ratsupport.com/cgi-bin/csmailto/csmailto.cgi I get a 404 error I am lost, any advice about how my config is wrong would be real nice thanks
Did you enable Perl for that web site in ISPConfig? Did you place you script in the cgi-bin/ directory outside the web/ directory, or did you create a cgi-bin/ directory manually in the web/ directory?
sure did I have enabled everything I can enable and I put the script in the /var/www/clients/client1/web1/cgi-bin directory the instructions for the script had me create another folder that was not in the web area and I called it cgi-script
Can you post the output of Code: ls -la /var/www/clients/client1/web1/cgi-bin/ ? Are there any errors in Apache's error log?
ok, I found the information you requested see attached and following text from apache error log: [Tue Jan 04 09:25:14 2011] [error] [client 192.168.10.254] File does not exist: /var/www/ratsupport.com/web/favicon.ico [Tue Jan 04 09:52:41 2011] [error] [client 192.168.10.254] script not found or unable to stat: /var/www/clients/client1/web1/cgi-bin/csmailto/csmailto.cgi [Tue Jan 04 09:52:44 2011] [error] [client 192.168.10.254] File does not exist: /var/www/ratsupport.com/web/favicon.ico [Tue Jan 04 09:56:21 2011] [error] [client 192.168.10.254] script not found or unable to stat: /var/www/clients/client1/web1/cgi-bin/csmailto/csmailto.cgi
well I am sure that helped, now I get a 500 error, not sure what that means but I am checking my directories and setup of the program
Sorry for this there are no errors in the apache error log. I go between the 405 and 405 errors. I will keep working in this, I wish I understood more, I am very sorry to take your time
Ok did that when I try to go to Http://www.ratsupport.com/cgi-bin/csmailto/csmailto.cgi I still get the 404 error, but if I go to Http://www.ratsupport.com/cgi-bin/csmailto/ I get a 403 error I am not sure what this means but I find it interesting, for some reason I don't seem to have permission to use this directory my php stuff works , I am taking a course in php and it works, go figure
output here you go, I hope this helps, wish I understood all the marks on the left, where can I go to look this stuff up ?
Your cgi scripts must be executable. Please run Code: chmod 755 /var/www/clients/client1/web1/cgi-bin/csmailto/*.cgi http://www.zzee.com/solutions/linux-permissions.shtml
still the same Thanks you for the link, I will surely read and do my best to understand the information I still get the 404 error after doing the last chmod 755