I downloaded freedb, unpacked it to an SCSI partition, compiled cddbd following the CDDBD_HOWTO (normally everything went smooth), generated the hash file. So, currently my database is located in /mnt/reiserfs/multimedia/freedb, the server folder is /mnt/reiserfs/multimedia/freedb/cddbd/server and the cgi file is in /mnt/reiserfs/multimedia/freedb/public_html/.
I configured grip this way (I tried all possible combinations of localhost, 127.0.0.1, :8880):
DB Server:
http://127.0.0.1:8880/mnt/reiserfs/multimedia/freedb/
CGI Path: /~public_html/cddb.cgi
When doing
http://127.0.0.1:8880/ or
http://localhost/ Opera tells me: "It works". And httpd is running. Accessing the cddb.cgi (or any other destination on the server) file gives me this.
201 localhost CDDBP server v1.5.1PL2 ready at Mon May 22 11:35:02 2006
500 Command syntax error.
500 Unrecognized command.
500 Unrecognized command.
500 Unrecognized command.
530 Too many errors, closing connection.
[liviu@localhost freedb]$ telnet localhost 8880
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
201 localhost CDDBP server v1.5.1PL2 ready at Tue May 23 11:11:23 2006
[and then the last line with a dot appears, when doing stat and <enter>]
EasyTag gives me this:
Can't resolve host 'http://127.0.0.1:8880/mnt/reiserfs/multimedia/freedb/' (Resource temporarily unavailable)!
The cddbd log contained some error like: "no handshake".
So, as far as I understand I am failing to handshake. And, this is probably due to failing to configure Apache, that is /etc/httpd/conf/httpd.conf, to treat cddb.cgi as a script. I tried all the tips from the FAQ, but it didn't work.
1. Is the grip configuration correctly filled in?
2. How should I correctly configure the server for accepting CGI connections?
Thanks in advance