I'm probably biting off more than I can chew, for a rusty programmer, but here goes.
I'm running a (trivial) index.php test app for Facebook; finished app to be hosted on DreamHost. The app is registered in Facebook to be at domain.com/subdir/subsubdir directory.
It seems to run ok initially when called by browser http://subdir.domain.com/subsubdir; it goes to a login screen in Facebook and the url in browser at this point is:
After login by user, it tries to get to the callback url registered with Facebook but then crashes; a look at the browser url shows why:
Notice that the two url's (which are equivalent based on the default webpage setting in DreamHost) are concatenated instead of one overwriting the other. It works ok when either of the url is deleted, proving that the returned auth_token is valid.
Is there an obvious setting in the DreamHost webserver or in my browser that should be changed so that there is a correct overwriting of one url over the other. If not, I'm guessing that this might be a Facebook bug.