I'm trying to set up a Fossil server on an externally hosted Apache server without much luck. I created the cgi script and placed it and the executable in the cgi folder. I don't have access to any directories before the www directory which is considered as my root directory. The problem comes when I attempt to run the script as I always get an 500 internal server error response. Every folder and file has been given 755 permissions.
Can anyone tell me what I am doing wrong? Here is my script which i named "repo.cgi"
#!/cgi/fossil
repository: /fossils/project.fossil
And this is the url format that gives me the error.
website.com/cgi/repo.cgi