My website’s root page automatically redirects all users to some subpage via http header.
http://example.com/ → http://example.com/subpage
I want to use my domain example.com as OpenID. The problem is that I have to add some tag to my root page, but it should redirect all users on subpage. I can change the type of redirection and use e.g. meta tag. But is there a better way to implement that and don’t break instant http redirect?
Maybe I can somehow distinguish OpenID request and only that time respond with html?
You can specify the location of a Yadis document (which could be a static file in
public/) by setting theX-XRDS-Locationheader, or you can choose to handle theapplication/xrds+xmlMIME type at your application root dynamically.