-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login/Register 404 #16
Comments
Ah, I see what happened. You need to make sure that requests going to http://play.hvzpoly.org/auth/* go to the server and aren't handled by the ember client. More generally, the following paths should be handled by the server and should not result in the ember client being served to the browser:
The full list of routes can be found here: https://github.com/redxdev/hvzsite/blob/master/server/config/routes.js Notice that all of them (except Let me know if you need further help. |
So right now I route with a proxy through apache on play.hvzpoly.org to the ember server. I need to set /api and /auth to direct to sails? |
Exactly. |
Okay I set that up. I'm getting "The requested file does not exist." |
This looks like a configuration error on your side. You are running sails on port 1337 - check your sails config (local.js) to make sure hvz.url is set correctly. Ideally you want apache proxying calls to sails on the |
The url is http://play.hvzpoly.org should it be http://play.hvzpoly.org:1337 ? UPDATE: THAT DID THE TRICK!!! We're gonna get to customizing everything and keep you in the loop on what we got so far. Thanks again. |
Yes.On Sep 13, 2017 4:55 PM, Zach <notifications@github.com> wrote:The url is http://play.hvzpoly.org should it be http://play.hvzpoly.org:1337 ?
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or mute the thread.
|
Okay so I setup apache hosting the compiled ember pages. So its just apache sails. This is what my virtual host is in apache
I'm gonna do https so I can have the webcam working. But I'm first trying to get sails working so it's all working on play.hvzpoly.org. I put the config back to just http://play.hvzpoly.org/ in the sails local.js. I'm wondering what I can do to let apache pass through while preserving the domain so I can use https. any advice. Sails still reports "The requested file does not exist.". Thanks! |
Huh. I'm actually in the middle of running a game right this minute so I'll get back to you when I have a chance. |
Never mind problem solved. |
Great! Let me know if you have any other problems.On Sep 13, 2017 9:59 PM, Zach <notifications@github.com> wrote:Never mind problem solved.
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi,
I'm currently setting up this system for use at my game at Florida Polytechnic University. I seem to have followed all the right steps but when I either login or register I get a 404 page. You can see my site at http://play.hvzpoly.org/ . The team here is fluent in NodeJs and we'd love to help out in improving this system. We're just stuck at this bump getting it up and running. Thanks again!
"Woah, there doesn't seem to be anything here! 404
If you think this is in error, please let an administrator know!"
The text was updated successfully, but these errors were encountered: