authentication - How to achieve triggered redirect after log in so that administration interface will be available on the redirected url? Drupal 7 -
i ask advice. recently, developing conference site drupal 7. site hosted @ domain1.com. however, conference covered organization , require conference page accessible own domain like.: organization.com/conference2014 fortunately, drupal has base_url parameter , site accessible organization.com/conference2014 domain. but, problem when want access administration interface of drupal through organization.com/conference2014?q=user/login redirected organization.com site administrated organization admin. moreover, when access again organization.com/conference2014 - still asks me password.
i got adviced introduce trigger after user logs in site organization.com/conference2014. redirect me administration interface/overlays not there. ideas how tackle problem?
martin
your session cookie associated domain logged in at, if login @ domain1.com not logged in @ organization.com. i'm assuming organization.com has rewriterule configured conference2014 points domain? if so, can configure redirect pass query string redirect, this:
rewriterule ^conference2014/?(.*) http://domain1.com/$1 [l,ne,qsa]
(qsa piece we're interested in, "query string append")
this allow access http://organization.com/conference2014?q=user etc.
Comments
Post a Comment