Hi everyone, I have setup 2 vhosts which are working great, but my issue is when uploading a perl script to the cgi-bin folder though ftp it does not run. So i come acrossed that the dos2unix command has to be running before the script will run itself, but this sets the owner to 0 so it can not to edited til missing about with the permissions. The point to my question is i have been with a few hosting companies and none of them i had to run the dos2unix command to get the scripts to run, i just uploaded them and set the script to 755 and job done but i have to run this command everytime a upload a new file. What could be the issue thats causing this to happen. ie permissions configuration etc Many thanks
Hello! You should have permissions of 0750 at the least, 0755 should do. The ownership should also be user:user. You will also want to confirm that you have a ScriptAlias in your virtualhost in httpd.conf setup to execute out of cgi-bin/.