Hi, I'm trying out Fossil and I got it working with the standalone server (e.g. `fossil server repo.fossil`) but I like the idea of the CGI approach and want to use that instead, only I can't get it to work for some reason. The way my server is configured seems to be creating a permissions error with Fossil, only once I started having this problem, I immediately gave 777 permissions and apache ownership to the repo.fossil and its containing directory /root/fossils/ (it's a clean server install, CentOS 5.5 on a Rackspace Cloud Server, with no normal users other than root) to guarantee it would work and yet it still didn't solve the problem. When everyone can read and write the repo file and directory, and it's owned by my webserver process, how can fossil still not be able to read it? (Note: I confirmed that the file path is correct and the apache configuration uses user+group "apache".) Can anyone tell me what I'm missing that I need to change to make this work? I'm betting it's something really simple and obvious, so I'm sorry to have to ask, but I've spent a lot of time on this already and would really appreciate some extra, more expert, eyes on this one. Thanks.
The error when loading the cgi script in my browser -- the same is listed as the error response when attempting `fossil clone ...`: "repository does not exist or is in an unreadable directory: /root/fossils/repo.fossil" Here's the exact actual installation script I tested with: # blank rackspace cloud server centos 5.5 yum install -y unzip httpd sed -i '327 s|^ AllowOverride None$| AllowOverride All|' /etc/httpd/conf/httpd.conf service httpd start iptables -I RH-Firewall-1-INPUT -p tcp --dport 80 -j ACCEPT iptables -I RH-Firewall-1-INPUT -p tcp --dport 8080 -j ACCEPT service iptables save wget http://www.fossil-scm.org/download/fossil-linux-x86-20101005035549.zip sudo unzip -o fossil-*.zip fossil -d /usr/bin/ mkdir /root/fossils/ && cd /root/fossils/ fossil new repo.fossil chmod -R 777 /root/fossils/ chown -Rh apache:apache /root/fossils/ fossil user new demo demo demo -R repo.fossil mkdir /var/www/html/fossil/ cat << EOF > /var/www/html/fossil/repo #!/usr/bin/fossil repository: /root/fossils/repo.fossil EOF cat << EOF > /var/www/html/fossil/.htaccess Options +ExecCGI SetHandler cgi-script EOF chmod 755 /var/www/html/fossil/repo # http://repos.example.com/fossil/repo # fossil clone http://demo:[email protected]/fossil/repo repo.fossil # >> repository does not exist or is in an unreadable directory: /root/fossils/repo.fossil Thanks.
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

