You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
How would I get URLs working?
Do I need to link incoming URL requests to index.html or something?
//EDIT//
(this is talking about the router I linked to)
Ok - I found that for testing it is run on a Node.js server,
// let pushState and the router do the navigation. return index.html for all non-static-content routes.
app.get('*', function(req, res) {
res.sendFile(__dirname + '/index.html');
});
so all traffic goes through index.html and it serves the right files accordingly
How would this work on an apache server?
still using a JS file?
.htaccess rewriting?
The text was updated successfully, but these errors were encountered:
Hi , when I download and upload the Router Demo , I can get to a page via link, but not through the URL - am I missing something?
Home
http://test7.pushka.com/
Click Notes
http://test7.pushka.com/notes
paste in the link and press enter
http://test7.pushka.com/notes
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
//EDIT//
(this is talking about the router I linked to)
Ok - I found that for testing it is run on a Node.js server,
// let pushState and the router do the navigation. return index.html for all non-static-content routes.
app.get('*', function(req, res) {
res.sendFile(__dirname + '/index.html');
});
so all traffic goes through index.html and it serves the right files accordingly
How would this work on an apache server?
still using a JS file?
.htaccess rewriting?
The text was updated successfully, but these errors were encountered: