Attempting to install Trac on my VPS has been a nightmare. I'm fairly certain that I've got all the necessary files and the system will run if I use the standalone server. However trying to get it set up to be accessible through Apache is proving difficult.
In order to test this I've created a very simple FGCI script, to check where the problem lies. The script is at the url http://trac.1webservices.co.uk/test.fcgi
The directory httpdocs is set to 755, myuser:psaserv The file test.fcgi is set to 755 myuser:psacln (was previously psaserv) Both were created from root SSH so originally root:root
The .htaccess file reads as follows:
<Files *.cgi>
SetHandler fastcgi-script
</Files>
Test.fcgi is as follows
#!/bin/bash
echo 'test'
When I run the script I get a 500 error and the following in my suexec_log file
[2012-03-08 12:17:31]: target uid/gid (10001/506 or 505) mismatch with directory (10001/505) or program (10001/505)
[2012-03-08 12:37:57]: uid: (10001/myuser) gid: (506/506) cmd: test.fcgi
Can anyone suggest anything, or tell me (preferably with a link to some actual instructions rather than the poor docs on Trac's website) an alternative way to get Trac running?