Routing is the process of selecting paths in a network along which to send network traffic. For the process of associating URLs to content, use the tag url-routing instead.

learn more… | top users | synonyms

0
votes
1answer
4 views

Trouble filtering in Camel

I am attempting to filter out the null bodies from my route. However, I am getting an error when trying to do so. I tried changing to camel:filter in the tag rather than filter, but it still tells me ...
0
votes
1answer
11 views

On re-submit of form with errors, a PATCH request is called when it's supposed to be a POST

Something very funny is happening... my controller has two checks that are made separately before it allows the form to be submitted (the code below is simplistic, there are other things happening). ...
0
votes
2answers
18 views

Randomly get routing error

I noticed in my logs that I get following error and this error occurs randomly couple times per day: ActionController::RoutingError (No route matches [GET] "/pos/entry/2312/send"): This is my rake ...
0
votes
0answers
6 views

What's best way to implement custom router which implements Command pattern based routing

Looking for design implementation thoughts on best way to implementing an Akka Router where the routing implements a "command handler". Problem outline: Considering all messages are "commands" ...
0
votes
2answers
17 views

Really simple routing error, what am I missing?

I feel like this is a really simple error that I'm just not seeing... Requests Controller def create if @request.save redirect_to 'success' else render 'new' end end def ...
1
vote
1answer
26 views

Hide one controller name from mvc url, show other controller names

I have two controllers, HomeController and ResourcesController. I want to hide the Home/ from the url when action on HomeController is requested, but for ResourcesController (or any other controlelr) ...
0
votes
1answer
24 views

Meteor, using Iron-Router for dynamic routes

We are working a chat app and we are at the point now of support multiple rooms. So I am trying to figure out how to setup iron-router to support this properly. The way I envision this working is that ...
0
votes
1answer
22 views

:action/* element is giving missing controller error

<?php Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); /** * ...and connect the rest of 'Pages' controller's URLs. */ Router::connect('/pages/*', ...
0
votes
0answers
8 views

two network cards routing

i have two ethernet cards in my Mac en0 connected to a router using DHCP and connected to the internet and en1 connected to a second router to the private wireless network dedicated to file sharing ...
0
votes
0answers
6 views

RDO Openstack- Cant access intances spwaned

I followed the instructions on the [1] to configure RDO openstack with existing external network. When an instance is created , a private Ip is assigned and I manually assign a floating Ip. Everything ...
0
votes
0answers
3 views

Is there a way or service that monitors global internet routes in real-time for intelligent user requests / data routing?

We are looking for a commercially available service that has APIs to integrate with our existing global traffic routing systems that currently rely on user-to-server proximity and congestion on ...
0
votes
0answers
5 views

Route packets written to a TUN interface

I want to redirect packets received on a TUN interface (TUN1) to another TUN interface (TUN2). I have a C program attached to the TUN1 interface. This program intercept packets sent to TUN1 and ...
0
votes
0answers
2 views

Windows 7: IP packets send out on wrong NIC

I am investigating a network issue on Windows 7. The problem is the following. We have a machine (PC1) which has two NICs. NIC 1 is connected to our network (130.x.y.z / 23). NIC2 is connected (via ...
0
votes
1answer
23 views

Software for Vehicle Routing with Pickup and Deliverys (VRPPD)

I am searching for an open source software for a "Vehicle Routing Problem with Pickup and Deliverys" (VRPPD). These Software needs to support the following things: I have a fleet of Vehicles I have ...
0
votes
1answer
22 views

Can't pass GET parameter while unit testing Zend Framework 2

I'm having hard time trying to unit test (phpUnit) one of my modules in ZF2. What I'm trying to do is determine whether a classname is present on one of the elements on page when a GET parameter is ...
0
votes
0answers
7 views

Choose specific exit node in TOR (with Python code)

I want to write a simple script in Python that will connect to the TOR network and choose an exit node of some country I specify. For instance I want all my outgoing network traffic to be routed to ...
0
votes
0answers
14 views

VPN routing on MacOS

My VPN works just fine everywhere (hotels, home, etc) except one place with public internet. Routing doesn't reach any hosts in 172.16.40.x network. Routing before I am connected to VPN (I skip IP6): ...
0
votes
1answer
8 views

Access router port forwarding from ubuntu terminal using ssh [on hold]

Hello i was wondering if there is some way to access my router from my ssh connection on my ubuntu server. Im trying to open port 80 on my router, so that i can host a website. But i currently do not ...
0
votes
0answers
22 views

ZF2 Skeleton app Routing - children routes

I'm trying to get working Routing in my app based on Zend skeleton application. I need following mapping: localhost/ => Aplication/Controller/IndexController => ...
0
votes
1answer
14 views

Angular navigation gives 'bad request' on getting template

I'm trying to add routing to my new application where i'm for the first time using Angular. I have the files or file fragments as described below. app.js 'use strict'; var app = ...
0
votes
2answers
21 views

Identify tenant from the url in multi-tenant asp.net mvc application

I am creating a multi-tenant asp.net application. I want my url to follow **http://www.example.com/test1/test2/**{tenantName}/{controller}/{action} ...
0
votes
1answer
9 views

Laravel routing Ajax hashtagged URL

I just bought a single page template ( smartadmin ) which loads contents using ajax and change url using a pattern "/#ajax/file.html". I was surprised that I can navigate through it without setting ...
0
votes
1answer
13 views

Magento what is system configuration page route?

Hi my question for today is: What route is for system->configuration->advanced->system page ? or have to get the url by routing ? i tried this: ...
0
votes
1answer
14 views

Get information about matched route in Fat Free version 2.0.x

I'm using the legacy version 2.0 of Fat Free Framework. I'm bolting on some code that needs to be called for every request. I want to examine the route matched, which I find I can do in the ...
0
votes
0answers
5 views

How to convert code in php to javascript for custom routing in zend framework 1.12

I have written the following line in bootstrap.php as below protected function _initRoutes() { $routers = Zend_Controller_Front::getInstance()->getRouter(); ...
0
votes
0answers
11 views

Navigation and multipoint route between source and destination mapquest

I want to get route between start and end addresses by passing through multiple points in between. Also it should provide turn by turn navigation. How can I achieve this using mapquest api for iOS?
0
votes
1answer
21 views

how can i add js with ng-view and execute immediately angularjs

for e.g in my angular app app.config(function($routeProvider, $locationProvider) { $locationProvider.hashPrefix('!'); $routeProvider.when('/login', { templateUrl: '../login', ...
-4
votes
0answers
7 views

klein.php before/after filters [on hold]

It seems to be possible to attach filters to klein.php routes - but how? IMO the documentation is a bit sparse on such topics. Can somebody give a small example.
0
votes
0answers
11 views

Add _format automatically to all routes yml Symfony2

I am building a REST API with Symfony2 and JMSSerializerBundle. At the beginning, it was JSON-only formatted because I didn't have the time to implement XML for instance, But now that I have this ...
0
votes
0answers
4 views

Redirect to routed direction in Zend Framework 1.12

I have a form in add.php <form action="<?php echo $this->url(array('controller'=>'city','action'=>'save'));?>" method="post" > City Name: <input type="text" ...
0
votes
0answers
9 views

why the first action/ first route is opened for any url in routing in Zend framework 1.12

I have written the following code in bootstrap.php file protected function _initRoutes() { $routers = Zend_Controller_Front::getInstance()->getRouter(); $adminadd = new ...
0
votes
0answers
19 views

How to route to a node server in rails

I have a little rails server and a node server that I'm trying to connect. The rails server is my main one and I'm trying to figure out how to map a route to the node server. I want the link to it to ...
0
votes
0answers
58 views
+50

Forward message to next Round Robin routee

I have this Play app that connects to a distant server in order to consume a given API. In order to load balance my requests to the distant server, I connect multiple accounts to that same server. ...
0
votes
0answers
5 views

Laravel routing: if it's starting with url or domain

Let's assume I have web page foo.com. If user already logged in, I need to grab every request for foo.com/http://bar.com and make some proccesing with it. So basicly, user will put my domain name into ...
0
votes
1answer
14 views

MVC index.php in every url

I started using codeigniter for the first time today although I have used asp.net mvc before. I am wondering why my URL needs the index.php at the start all of the time ? example: ...
0
votes
1answer
23 views

Dynamic action for route in Symfony 2.x (part of the url)

Is it possible to define a route in Symfony 2.x that dynamically resolves the action based on part of the route ? Example : rest_localite: path: /rest/localite/{_action} defaults: { ...
0
votes
1answer
21 views

Symfony2 issue with % caracter in the link

i have a bit of a weird problem with symfony2(2.4) with the % character in the url. the url is: /test/check/dq9L1oAOh2dDRLn3wmFW6wyHRfgCjRF%2FCelmCWOPIYeuLdO3dLuJ8In3LhFYZHzhCwwcqGWQFj1aPSAJUXaZ8e/ ...
0
votes
1answer
27 views

Unitialized Constant Rails Routing

I have a rails 4 app where I have a controller like: app/controllers/api/v1/books_controller.rb: module Api::V1 class BooksController < ApplicationController ... end end and then my ...
0
votes
1answer
21 views

Express routing and URL parsing when using separate modules

I'd like to be able to parse a url query for data and use it in my response. In my app file I have the following: var entry = require('./routes/entry'); app.use('/entry*', entry); in my route file: ...
0
votes
1answer
13 views

Express Routing Using URL Varaibles

Is there a good express routing tutorial out there? I'm having a hard time finding anything comprehensive. I'm especially interested in getting variables from routes.
0
votes
1answer
17 views

AngularJS routing - won't load view

I have been attempting to follow several different online tutorials, but keep keep failing on the same thing: getting AngularJS to load a HTML template file into the ng-view section in my page. I ...
0
votes
1answer
38 views

Routing VMs with static IPs in Ubuntu

I have a server with an external provider that is running Ubuntu 12.04. The server is having a static IP. I have installed VMware workstation and I am running some virtual machines, one of them is for ...
0
votes
0answers
3 views

routing for the same controller but different action in zend framework 1.12

I have added the below code in bootstrap file for routing to different actions . But both are redirecting to the same page i.e, the index page. How can this be avoided protected function ...
0
votes
1answer
10 views

Rails notification routing

In my app I'm using the gem mailboxer to handle my notifications and I've gotten everything up and running but I'm having trouble figuring out how to link_to the object that caused the notification. ...
1
vote
2answers
43 views

Routing error in AngularJS

What's wrong with this AngularJS configuration code? (function () { var ip = 'x.x.x.x'; var app = angular.module('cmal', ['controllers', 'directives', 'services', 'ngRoute']) ...
0
votes
1answer
26 views

Rails Routes Evaluating Incorrectly

I'm using rails 2.3.18 and Ruby 1.8.7 I have this in my view: link_to 'Download file', {:controller => 'inventory_data', :action => 'download_exported_inventory_items', :reference_id => ...
0
votes
1answer
10 views

Laravel: Route Model Binding and Namespace

I am successfully using the following codes to auto-route HTTP parameters to a model in Laravel: Route::model('user', 'User', function() { throw new AccountNotFoundException('Account does not ...
0
votes
1answer
12 views

How to get the variables in routing in zend framework 1.12

I am new to routing in zf. I don't understand some terms in route $route = new Zend_Controller_Router_Route( 'author/:username', array( 'controller' => 'profile', 'action' ...
0
votes
0answers
9 views

Routing iptables ignores forward. Input instead [closed]

I have set up iptables on my ubuntu headless server: iptables -S -P INPUT ACCEPT -P FORWARD DROP -P OUTPUT ACCEPT -A INPUT -s 10.1.3.90/32 -i eth0 -j LOG --log-prefix "INPUT: " -A INPUT -i eth1 -j ...
-1
votes
1answer
22 views

how to setup pure peer to peer connection with remote pc using sockets (public ip's of both side are known) [closed]

Actually I wanted to design a video chat application using java and matlab combination which should be able to work on Internet. l have search a lot on internet for setting up pure p2p but i always ...