Ok, I'm raising the white flag here, and I throw myself at the mercy of the community.
I'm pretty new to PHP/Apache/Web Servers, and I think I probably understand about half of the concepts. I am trying to get COPS running on my Netgear ReadyNAS, and I think I'm very close! So far, I have done the following:
1. Created a folder on the NAS for a web server with appropriate permissions...the folder is called "website", and I have verified that I can read basic stuff out of it (e.g., an index.html file) by using a custom domain - that is, port forwarding, etc. is all set up correctly as far as I can tell
2. Installed PHP on the root of the NAS using "apt-get install libapache2-mod-php5" (although I have no idea if this was necessary, or if this was even the right place to install PHP)
3. Ran the additional commands listed on the COPS website, "apt-get install php5-gd php5-sqlite php5-json php5-intl"
4. Put the contents of the COPS zip file (unzipped) in a folder on my web server (i.e., in the "website" folder), and modified "config_local.php" with the directory list of my calibre library
5. Now, all my COPS stuff is in a folder called "cops" inside my web server folder called "website". If I go to
www.customdomain.com/website, the url resolves correctly. However, if I try
www.customdomain.com/website/cops, or
www.customdomain.com/website/cops/feed.php, I get a 403 error stating that I don't have permission to access the directory. Interestingly, if I take all of the COPS stuff out of the "cops" folder,
www.customdomain.com/website/cops resolves just fine. It's only when I put all of the php stuff in there that it breaks.
Is there a smoking gun in all of this that someone more knowledgeable than me can recognize? I suspect one of the php files in my "cops" folder is not able to see my PHP installation correctly, or something like that, but I really have no idea.
I have SSH access to my NAS as well, if that is helpful. I feel like I'm so close, but I don't know where to go from here.