Active
Project:
Open Badges
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2012 at 11:21 UTC
Updated:
22 May 2012 at 11:22 UTC
Hi,
I installed drupal in a subdirectory \drupal6 and access it thru http:.///drupal6.
In this case open badges tries to access the site in the incorrect location (urls for baking do not contain the /drupal6/ prefix).
I had to add the following two RewriteRules to the apache server's httpd.conf
RewriteRule ^/open_badges/assertion/(.*)$ /drupal6/open_badges/assertion/$1 [L,NE]
RewriteRule ^/sites/default/files/open_badges/(.*)$ /drupal6/sites/default/files/open_badges/$1 [L,NE]It would however be better if the open_badges module would issue the correct url's in the first place.
Btw thanks for the module, it's a good starter on open badges as after above fixes it just works!