I figured I'd document my efforts to get Drupad working on Acquia's dev cloud.

Comments

damienmckenna’s picture

First thing - Acquia have a standard solution for adding HTTP authentication to your site that involves adding this line to your .htaccess file:

RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]

I think this is stopping it from working.

damienmckenna’s picture

Removing that line from the .htaccess file didn't solve the problem.

damienmckenna’s picture

Neither of the code snippets worked either.

damienmckenna’s picture

For anyone who has access to it, I opened a discussion in Acquia's forums: https://network.acquia.com/node/1888875

jchatard’s picture

Have you tried the help page?

http://drupad.com/install.html

With the second code snippet?

Best,
Jérémy

damienmckenna’s picture

Yes, I tried both the code snippets, quit the app and cleared the sessions table each time. No luck. The site does use Varnish, might that make a difference?

damienmckenna’s picture

Another thing to note. Originally I was actually using 7.x-1.6 - I thought I'd updated to 1.8 but I hadn't, apologies for that.

So, with 1.8 and code snippet #2 the built-in tester works and returns the following:

HTTP code: 200
Valid JSON: {"meta":{"version":"1.4","drupal_version":"7.8","version_match":true},"content":{"callbacks":["comments","content","content-forms","users","cache"],"modules":["comment","mollom","node","field","user","system"],"permissions":["access comments","administer comments","post comments","post comments without approval","access content","administer nodes","create \/ edit content with Drupad","administer users","administer site configuration"]}}

However the app still fails with the "The request didn't succeed" error.

jchatard’s picture

Assigned: Unassigned » jchatard

Ok I'll have to sign up for an Acquia Dev Cloud account in order to test, and hopefully make it work.

I'll let you know once I've done that.

Best,
Jérémy

drewhutchinson’s picture

jchatard , Good luck with this. I really hope you can get this to work in the Acquia environment..............Drew

damienmckenna’s picture

@jchatard: FYI Byron Norris at Acquia is working on it too, I've recommended he get in contact with you.

jchatard’s picture

Status: Active » Fixed

Ok, I finally had some time to test Acquia Dev Cloud and I confirm that using Code Snippet #1 works.

I have a fully Drupad compliant Acquia Dev Cloud instance.

So please double check your config and how your put the code snippet just before the rewrite rules.

I update the documentation right now.

Best,
Jérémy

damienmckenna’s picture

I believe that the problem I was running into with the specific site was due to some HTTP Authentication configuration that was set up, but the .htaccess snippet in this blog post is compatible: http://www.mc-kenna.com/drupal/2012/04/simple-http-authentication-for-dr... I'm waiting for that client to confirm it with their account, but it should be a-ok.

Thanks for checking it.

drewhutchinson’s picture

DamienMcKenna / jchatard Nice work. I look forward to testing this today!!!..............Drew

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.