Open 1xs opened 8 years ago
Hey,
please refresh my memory: what's the "fake login part"? The part where you simply provide a password?
That should simply redirect you to back to wifidog: https://github.com/mhaas/fbwlan/blob/master/handlers/fb_handlers.php#L312
hI, what meant is in your description to test FB and use : htp://myurl/login?gw_id=foo&gw_address=localhost&gw_port=8080 that gives me a 404. I did not even get to the part of the router.
Hey there,
I am afraid I can't quite follow. Can you give me a detailed rundown of what you are trying to achieve, what your results are and what you expected to see instead?
Hi Michael,
what i'm trying to achieve is being able to modify a router as hotspot where guests need to checkin through facebook in order to get access. from there i'll need to look how i can capture the users but that's phase 2.
From what i understand in your description is that installing the files on a webserver needs to be done first. So that's what i did. In moved all the files including the fb sdk and flight to my webserver. Then in your description that would be step 1. Further on to test of that went well you can try the link you provided which looks like:
http://example.xyz/login?gw_id=foo&gw_address=localhost&gw_port=8080
And just there it is where i got stuck. Because this link gives me a 404 error. So i didn't even read on or do something else because of this error. cause i'm afraid that when i'm done it still doesn't work.
Is there something in this link that should be different?
I hope you have an answer on this one.
Greetz from the Netherlands
Rob
Michael Haas schreef op 2016-04-23 10:33:
Hey there,
I am afraid I can't quite follow. Can you give me a detailed rundown of what you are trying to achieve, what your results are and what you expected to see instead?
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub [1]
[1] https://github.com/mhaas/fbwlan/issues/15#issuecomment-213693731
Hi Micheal,
I am also facing the same issue. Actually the issue is that we can not access the 'http://example.xyz/login?gw_id=foo&gw_address=localhost&gw_port=8080' URL as it says 404 error when accessing the URL. Where we have to define 'login' to use it?
Hi there,
did you guys install the htaccess correctly? It may require some fiddling. All requests must go through index.php which then knows how to deal with paths like /login/.
Hi Micheal,
Thanks for the prompt response. I got the issue resolved. Thanks a ton for the hint. I must had missed the .htaccess installation part. Now its working :+1:
@salmanansari can you tell me what you did in the .htaccess file? mine looks like this where the total script i in a subfolder of root called FB. AddDefaultCharset UTF-8 RewriteEngine On
RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
Hi @1xs,
Change your .htaccess file with below commands and then try:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L]
Kindly make sure to rename htaccess to .htaccess
Great!! thx. so now I can continue to configure the router.
Great if that also worked for you. I am having issues working with wifiDog. I also have opened in issue while configuring wifiDog on DDWRT. If you have any luck then do ping me so I can also move forward with it :)
hey @1xs ,
Did you get any luck setting up the router with wifiDog?
Although I changed the file name to .htaccess and rewrite rules, no success. I still get 404 error.
What else can be its reason?
Hi, i'm trying to test the script but i'm already stuck on the fake login part. it returns 404. Without login the startpage is served but the fb integration is not possible for me to test right now. What could be the problem? I'm trying the fake login. that causes 404. No where in the startpage is a FB functionality visible.