I'm using the official demo.
First, I applied for a locally tested application in Sina's open platform, which is the basic configuration.
This is true in the config function.
Define ("Wb_akey", ' 2591 ... ');d efine ("Wb_skey", ' d781abe6d6 .... ');d efine ("Wb_callback_url", ' http://127.0.0.11/weibo/callback.php ');
The configuration in the hosts is this:
127.0.0.11 shixi.com
When I click to log in with my Weibo account, I see:
You don't have permission to access/weibo/< on this server.
Reply to discussion (solution)
It doesn't matter with Weibo. You have a problem with this site setup. There is no access to that folder.
127.0.0.1 www.yz.com
127.0.0.1 yz.com
127.0.0.1 admin.yz.com
That's what I'm trying to configure, okay?
127.0.0.1 www.yz.com
127.0.0.1 yz.com
127.0.0.1 admin.yz.com
That's what I'm trying to configure, okay?
I found the information on the Internet today, I use this as if not in the local test, if placed on the domain name I applied to successfully login,
The domain name that is configured locally cannot succeed, is not my compressed package wrong?
127.0.0.1 www.yz.com
127.0.0.1 yz.com
127.0.0.1 admin.yz.com
That's what I'm trying to configure, okay?
Configuration is right, I just read it online. It was used in the original file. , it's not going to work now, just a change.
It doesn't matter with Weibo. You have a problem with this site setup. There is no access to that folder.
It seems to be my site configuration reason. I changed the configuration and changed the file a little bit.