I’ve installed backlight on a local Ubuntu server and it is accessible by web browser and FTP from my PC. It is installed under http://server/ttg as there are other sites under server.
I’m trying to install the Lightroom publisher. Under Edit Settings I have entered the API URL of http://server/ttg/backlight/publisher/, and the API key which I know to be correct as I reset it via Backlight’s settings page.
When I click Check Authentication there is a delay then a message box with the title Error and message of “Unable to find Publisher. Check API URL is correct.”
There is no folder under ttg/backlight called publisher. I don’t think I missed a step during installation but if I did, I can’t find it in the documentation.
Also, does the site portion of the API url exactly match the Site URL in Backlight Settings?
For example, if the site url begins with https://, does the API URL also begin with https:// ?
I get a Not Found error in a browser. I expect that because as I said, there is no publisher folder under the backlight folder. I may have missed any instructions to create it but I can’t find them.
If you see that message, then it means Publisher is where it’s supposed to be. You won’t find a publisher/ folder in the backlight/ folder. @Ben explained it once but I don’t recall how it all works.
If you don’t see that message, there is probably some misconfiguration or missing php module in your server, and that’s something Ben will need to help you with.
Hi @mickseymour, Backlight expects a properly-configured Apache. Having mod-rewrite enabled is part of that. There are other requirements that you’d expect a host to meet, such as having PHP set up to work with Apache, having index.php enabled as a handler for index files and having your virtual hosts in order. If your site is working then it sounds like that’s all good.
I’m late to this thread. We don’t absolutely require mod-rewrite to work. If for some reason it’s not available and can’t be configured then the fallback is to use an API URL ending in the format of /backlight?m=publisher (which is what the .htaccess rule maps to). The downside to running without mod-rewrite is that your entire site would fall back to parameterised URLs.