All Questions

208
votes
22answers
93206 views

React-router urls don't work when refreshing or writting manually

I'm using React-router and it works fine while I'm clicking into link buttons, but when I refresh my webpage it does not load what I want. For instance, I am into localhost/joblist and everything is ...
12
votes
15answers
25037 views

How can I determine the IP of my router/gateway in Java?

How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewha...
7
votes
3answers
15414 views

Objective-C : How to fetch the router address?

I tried to fetch the router address this way. - (NSString *) routerIp { NSString *address = @"error"; struct ifaddrs *interfaces = NULL; struct ifaddrs *temp_addr = NULL; int success = 0; ...
36
votes
6answers
45138 views

How to separate routes on Node.js and Express 4?

I want to separate Routes from my server.js file. I am following this tutorial on Scotch.io http://scotch.io/tutorials/javascript/build-a-restful-api-using-node-and-express-4 It is working if all l...
75
votes
3answers
79356 views

Angular2 Router error: cannot find primary outlet to load 'HomePage'

I just started using the new routing library (@angular/router v3.0.0-alpha.7) but following the official docs leads to error below: browser_adapter.ts:74: EXCEPTION: Error: Uncaught (in promise): Err...
6
votes
2answers
908 views

Changing the default name of "router-link-active" class by writing a custom directive that adds new class

I would like to use Semantic UI in my Angular2 application. The problem is that I can't find a router setting that changes the default name of "router-link-active" class. I need it to be called just "...
1
votes
1answers
164 views

Providing input/subcommands to command executed over SSH with JSch

I'm trying to manage router via Java application using Jcraft Jsch library. I'm trying to send Router Config via TFTP server. The problem is in my Java code because this works with PuTTY. This my Ja...
0
votes
5answers
8681 views

Domain name for my PC: how to (tried No-IP, DuckDNS and ngrok)

I want: ping server on my PC by it domain name from remote. I have: DynDNS services DuckDns (or No-IP, config in no-ip is even harder). It gets me an IP 94.154.220.216 and (sub)domain http://my_do...
54
votes
2answers
11901 views

Ruby on rails: singular resource and form_for

I want user to work with only one order connected to user's session. So I set singular resource for order routes.rb: resource :order views/orders/new.html.erb: <%= form_for @order do |f| %>...
10
votes
2answers
8459 views

Adding sub domain based routes in Zend framework

I am newbie to Zend framework, I am using .ini file to add routes in my application. I have 2 routes for different modules which resources.router.routes.news_view.type = "Zend_Controller_Router_Ro...

Previous Next