severndigital Posted July 13, 2010 Share Posted July 13, 2010 I am having problems executing a script from a subdirectory of cgi-bin. The funny thing is. Other scripts seem to work from the subdir. the cgi-script is chmod 755. I'm not sure what information to give other than this, since other files work from the location which is /var/www/cgi-bin/subdir does anyone have a suggestion? the apache error log says this: [Tue Jul 13 10:00:09 2010] [error] [client 192.168.1.108] (2)No such file or directory: exec of '/var/www/cgi-bin/xupload/upload_status.cgi' failed but i assure you the file is there. the sub directory is chmod 755 as well as the cgi file. Thanks for any help. C Quote Link to comment https://forums.phpfreaks.com/topic/207606-cgi-bin-getting-a-script-to-work-from-a-subdir-of-cgi-bin/ Share on other sites More sharing options...
severndigital Posted July 13, 2010 Author Share Posted July 13, 2010 DAMMIT JANET!!! .. don't you hate it when you fix the problem 5 seconds after you post. the cgi file has DOS formatting. Once I saved in the correct format it worked like a charm. Quote Link to comment https://forums.phpfreaks.com/topic/207606-cgi-bin-getting-a-script-to-work-from-a-subdir-of-cgi-bin/#findComment-1085336 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.