Comments (13)
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/.
from fbwlan.
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
from fbwlan.
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
from fbwlan.
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.
from fbwlan.
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?
from fbwlan.
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]
Links:
[1]
#15 (comment)
from fbwlan.
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?
from fbwlan.
@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 / is required to prevent endless internal redirects
Note: http://stackoverflow.com/a/12106419
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} !=/index.php
RewriteRule ^(.*)$ index.php [QSA,L]
from fbwlan.
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
from fbwlan.
Great!! thx. so now I can continue to configure the router.
from fbwlan.
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 :)
from fbwlan.
hey @1xs ,
Did you get any luck setting up the router with wifiDog?
from fbwlan.
Although I changed the file name to .htaccess and rewrite rules, no success. I still get 404 error.
What else can be its reason?
from fbwlan.
Related Issues (20)
- Error posting to Facebook (No nonce in form submission! (0) HOT 1
- Facebook DNS not Resolved on OpenWRT Chaos Calmer HOT 2
- Update ?
- 500 Internal Server Error already use .htaccess HOT 1
- Stuck at setting up wifidog
- Encoding of cyrillic (and potentially other non latin) characters in check-in messages
- Facebook seems to be blocked HOT 1
- DD-WRT and wifidog - I will pay some money for a fix HOT 6
- PHP 5.3 error
- Store facebook users info in mysql
- Mikrotik HOT 1
- How about Multigateway support ? HOT 1
- Can't start wifidog, lost internet access on the ap HOT 1
- "FacebookRedirectLoginHelper.php" fatal error HOT 4
- No valid answer from the central server HOT 4
- Facebook deleting the app after some posts
- Help :)
- Not working anymore due to publish_action deprecation HOT 3
- Not working publish_actions()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbwlan.