Tests to make sure htaccess is properly configured to provide Basic Authentication protection to our development environment at CivicActions.

function testHtaccessLink() still needs to be fleshed out.

Comments

douggreen’s picture

I'm wondering if we should check the site name, and then run the dev/qa test on the dev/qa sites and the live test on the live site. This would make it easier to just always include this test, rather than having to select which test we need to run. I think that the site name is available in $_SERVER.

hailu’s picture

StatusFileSize
new2.15 KB

Okay, i've switch the test to use $_SERVER and fixed some good gotcha's in the use of drupal_http_request(). The tests for the live, dev and qa sites should all fire cleanly with the code architecture as is.

I'll roll another patch soon to add the link test, the 'missing link'...

douggreen’s picture

Status: Needs review » Closed (won't fix)