Questions tagged [reroute]
45 questions
0
votes
1 answer
F3: Rerouting to a dynamic URL
I am having some difficulties rerouting to a dynamic URL from within my controller.
in routes.ini
GET /admin/profiles/patient/@patientId/insert-report = Admin->createReport
in the controller Admin.php, in method createReport():
$patientId =…

Kami
- 1
- 2
0
votes
2 answers
How to use PHP routing script in azure?
I am currently running a inbuilt server and i want to transfer it to azure. At the moment I run the server with the following command
php -S localhost:8000 route.php
where route.php is my routing script which deals with all my requests. I have…

AlexanderRD
- 2,069
- 2
- 11
- 19
0
votes
1 answer
SUMO: Secondary destination if there is no available route
I am running sumo to simulate a potential road cut scenario during an evacuation (multiple road cuts). I have installed reroute for those scheduled road cuts. However, for some vehicles, there will not be any available routes to the desired…

Yu Deng
- 1,051
- 4
- 18
- 35
0
votes
3 answers
Forwarding all network traffic to another AWS instance
I need to forward all traffic from one AWS instance to another.
I am trying to set up a Bro monitor in the cloud. See the picture for an overview.
At the moment I have it setup in such way that TestVM's traffic is rerouted to Bro worker (NAT) which…

Azibiz
- 59
- 2
- 3
0
votes
0 answers
Best (most accurate) way of location-based rerouting?
The Issue
We've got a ccTLD website (example.de) with subfolders for different languages, which obviously needs to be moved to example.com for proper language targeting. Since example.com belongs to the parent group company which has been 301ing all…

tentaclequing
- 101
- 2
0
votes
1 answer
ngRoute - re-route to current location path
Is it possible with ngRoute to route to the current path? Essentially, I have a scenario where my app will route to a controller/view, then after a little bit of time an event handler can be executed in another part of the application which changes…

user1491636
- 2,355
- 11
- 44
- 71
0
votes
2 answers
Angularjs: how to reroute to another state after error handling
I want to make a more or less generic error handler in my Angular app.
For instance, i get a mail with this link: mysite/messages/151
Clicking this mail: if i am not logged in, my framework returns an 403 (on purpose).
So i created this factory.…

ProX
- 297
- 1
- 3
- 16
0
votes
1 answer
How to redirect to wordpress sub directory when primary url is accessed?
I am installing a wordpress site in sub-directory of my existing site. is there a way to edit the settings in wordpress so that when i type in my primary URL (i.e. www.main.com) it automatically reroutes to www.main.com/subdirectory?

user3669344
- 11
- 2
0
votes
0 answers
C# Webform re-route if request doesn't contain specific string
I'm creating on a website using Webform, I'm encountering a problem and would like your help/ideas/solutions.
For some pages, I need to check if the query string contains a specific string, if this query string doesn't exist, empty or isn't a…
0
votes
2 answers
asp.net webforms. redirect all page requests in absence of a certain session variable
Is it possible to reroute all page requests to the Default.aspx if a certain Session variable is not set? I want the users to go to the default page where they agree to terms and conditions. On Accept, the Session["Accepted"] is set. Otherwise, if…

Aamir
- 791
- 3
- 15
- 28
0
votes
2 answers
Reroute all links on page to localhost
I am currently doing some minor re-work on a friend's site. I have downloaded what she has currently, but all of the links are absolute links, so whenever I navigate within the locally hosted site, I am pushed to the live site. Instead of…

allicarn
- 2,859
- 2
- 28
- 47
0
votes
1 answer
Rerouting http traffic in ASP.NET application
I would like to re-route traffic in HTTP request from one server to another in an ASP.NET web site. I have been looking into trying to do this using an http module or http handler. Are these viable options for my case or does anyone have a better…

JBone
- 3,163
- 11
- 36
- 47
0
votes
1 answer
.htaccess reroute all to index.php with one variable and preserving $_GET
I would like to reroute ALL requests through index.php with one variable and preserving $_GET. If $_GET exists, it's always after first slash. Anything after first slash that's not $_GET should be ignored.
Something like…

Goldie
- 1,570
- 5
- 21
- 33
-1
votes
1 answer
How to reroute to a different url identifying browser AND system language (PHP?
The Issue
We've got a ccTLD website (example.de) with subfolders for different languages, which obviously needs to be moved to example.com for proper language targeting. Since example.com belongs to the parent group company which has been 301ing all…

tentaclequing
- 101
- 2
-2
votes
1 answer
PHP rerouting temporarily store the previous output
I have output from a page (Uploader.php). Now i go to some other page and have a button on that page to reroute to this page (Uploader.php). I want the input of the page to be seen rather than reprocessing the page.

akshay
- 11