Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [url-routing]

The tag has no usage guidance.

0
votes
0answers
22 views

Nginx Rewrite Replace Word with Another Word

I'm trying to write an Nginx rewrite, but so far I'm not getting it right. So I have some files on a server, but I want some words to be replaced with other words in the URL without renaming the ...
0
votes
1answer
68 views

Location block passing through to a different php-fpm sock

There are two hosts with a PHP-FPM pool each - one.com and two.com. I would like one.com/two to pass through and show two.com using two's pool, but I seem to be having difficulty. Through alias and ...
0
votes
0answers
24 views

reroute request by port in iis7

I'm trying to set a webapp in iis 7 to forward requests to a specific port to a controller inside the website. I need that every request sent to http://server:6035/{QUERY} will be rerouted to http://...
0
votes
1answer
877 views

How to RewriteRule without destroying relative path loading of source files?

I have an ugly filesystem path on the server: example.com/a/b/c/d/e/f/main.html. For simplicity, I will use example.com/httpdocs/main.html in the body of this question. I want that what the user ...
1
vote
1answer
25 views

Redirect traffic to local machine in local network otherwise to remote server

TP-Link repeaters allow to access their web interface through a certain domain when being connected to them. If you are not connected to them and access the very same domain, you see their website. ...
0
votes
0answers
116 views

sub domain with url path serve on another sub domain using NGINX

https://my.domain.com is on VPS and already serving webapp with nginx+php-fpm using vestacp I want to achieve : https://my.domain.com/blog serve from http://free.hosting.xyz without showing free ...
0
votes
0answers
265 views

Write Url Rewrite to replace %2F to %252F

We have two kind of api url's 1) RESTful style clean urls - http://x.x.x.x/api/records1/{entityId1}/records2/{entityId2} 2) Query string to search - http://x.x.x.x/api/records1?filter1={...
31
votes
2answers
5k views

Why does this URL with excessive preceding dots resolve to an IP address?

http://.................1168951531 Which, when put into chrome, previews to the URL http://69.172.200.235/, which redirects (by external server response code 3XX) to www.test.com, but that is outside ...
1
vote
1answer
104 views

Rewrite unless resource exists

I have the following rewrite rule which converts example.com/anything/ to load the page at example.com/anything.html RewriteRule ^([A-Za-z0-9-]+)/?$ $1.html [L] I need an exception to this rule when ...
0
votes
3answers
788 views

URL path-based redirection rules

I am trying to find a solution that will allow me to have one IP address/DNS Name across multiple servers using path-based rules (Layer 7). i.e - http://testing.test.com.au/ABC -> Server A and http://...
0
votes
1answer
83 views

How do I redirect traffic to my blog using Namecheap?

My website is hosted on github and my www and @ points to github. My website is working fine. I recently made a Wordpress blog that is hosted on AWS. I want to direct blog.mydomain.com to AWS EC2. Is ...
0
votes
1answer
2k views

Nginx not getting root right directory

I a trying to make an angular app with an api. Every route should go to the angular app, except the API route. The API route should go to an laravel project. But the API route(/api) won't work, it ...
0
votes
0answers
134 views

Can't map *.asp to aspnet handler in IIS, keeps using StaticFile handler

Title says it all. I had this working once previously on the same server but cannot for the life of me figure out what is different. The MVC app is already setup to handle the incoming URL's and ...
0
votes
1answer
100 views

Public IP address on url

I successfully setup DNS and a web server with all the requirements. Everything is getting resolved properly such as domain names and reverse proxies. My question is, how can I set the public IP ...
0
votes
1answer
539 views

Route Azure Service Bus traffic over ExpressRoute?

Azure Service Bus exposes a publicly addressable HTTPS endpoint. For security reasons we'd like to force Service Bus traffic from on-prem systems to Azure over Express Route rather than over the ...
1
vote
2answers
769 views

How to configure Nginx to make Gitlist work correctly

Here the full story: To make team project more easy to manage, view and follow, I had to build a project to setup a complete repository to centralize all of our differents projects. For this, I ...
1
vote
1answer
885 views

Nginx Url Rewriting: Remove folder from the url

Im trying to rewrite a url like below: https://example.com/products/xperia-z5/ to--> https://example.com/xperia-z5/ But i want in the same time the url https://example.com/products/ to be ...
0
votes
1answer
3k views

How do I proxy pass a URL in Nginx where location match is a URL and proxy pass has another URL

We have hosted some xml files in a S3 bucket on Amazon AWS. The web server is powered by Nginx. For a particular URL matching '/super-shots.xml' , Nginx must proxy pass through S3 location which is : ...
-1
votes
1answer
302 views

Hiding parameters on url with nginx

I have a website with this kind of adresses: www.mydomain.com/user/userprofile/[userprofile1]?r=[login]&w=[encryptedpassword] ie: www.mydomain.com/user/userprofile/toto?r=reqqfdvca&w=...
-1
votes
1answer
538 views

Cisco Router - How do I host multiple websites with one public IP

I'm having some difficulty configuring my Cisco 4300 Series router to host multiple websites with a single public IP. I have created my access lists, but the techs over there tell me I must have one ...
1
vote
0answers
373 views

Appending URL subdomain as URL path in HAProxy

I want to convert following URL: http://subdomain.example.com/a/b/c To this: http://example.com/subdomain/a/b/c In HAProxy. Thanks a lot
0
votes
1answer
564 views

nginx reformat request_uri to access real file path

I want serve static files with nginx. User will request like this format: http://test.com/files/ea624cf923ea Actual file location will like this /files/ea/62/4c/f923ea How can I serve this file? ...
1
vote
2answers
5k views

How do you Mask URLs in HAProxy?

Is there any way to do URL masking in HAProxy? I'd like to have a URL directing to my load balancer, i.e. www.example.com, redirect to another URL I have for another application. However, I'd like the ...
0
votes
2answers
411 views

Nginx Rewrite and Redirection Same Time?

I have arcade gaming web site. I want to convert my urls to sef. category : example.com/index.php?category=mario-games > example.com/category/mario-games game details : example.com/index.php?game=...
0
votes
1answer
159 views

IIS Domain is always routing to Domain Root

going to https://www.example.com/about always leads back to https://www.example.com/ How do I stop this while forcing a https://www.example.com/? non-www.htaccess RewriteCond %{HTTP_HOST} !^www\. ...
2
votes
1answer
3k views

HAProxy - balance according to url_parameter

I have 2 different tomcat servers: T1 , T2 My clients that refer to my load balancer are providing the url parameter called "gender" (0 - for Male users , 1 - for Female users). only the url ...
3
votes
2answers
3k views

Can HAProxy select a backend based on a lookup table?

Let's say I have items A, B, and C. I have two backend servers: server01 and server02. Item A can be handled by server01, item B and C can be handled by server02. New items and servers get added and ...
-2
votes
1answer
98 views

How to redirect a url to development environment in Organization Network

In my organisation we have nearly 100 people but we dont have any dedicated IT Staff to manage our network. We have one of our product running on a domain name http://www.domainkachra.com. We want if ...
1
vote
2answers
5k views

Unable to request URL's without php file extension after upgrade to Ubuntu 14.04

After upgrading my remote server to Ubuntu 14.04 (Apache 2.4), I am unable to use my previous format where I could request URI's without calling the file extensions kind of like how pages are called ...
2
votes
1answer
2k views

Whitelisting valid URL patterns on a NGINX webserver

I want to whitelist only valid URL-patterns on our RESTful webserver / API, using regexs or something. But when googling for some examples I get a little bit suspicious since there is not much ...
-1
votes
1answer
67 views

Apache MOD_REWRITE for subdomain

Summary I have 2 servers, 1 Production & 1 Development Problem I want to keep the servers URLS the same in the code. The production server will be blah.com but I want the development server to ...
0
votes
1answer
1k views

Load balancers, multiple data centers and url based routing

There is one data center - dc1. There is a business need to setup another data center - dc2 in another geography and there might be more in the future say dc3. Within the data center dc1: There are ...
0
votes
1answer
2k views

Forwarding url requests to different ports

For development I run a few different servers (multiple instances of Tomcat and nodejs) to simulate some applications that work together. Each one runs on a different port and responds to different ...
6
votes
1answer
153 views

ISA wrong translation of the schema URL included in WSDL

I have a WSDL behind ISA server. The WSDL includes a schema <xsd:include schemaLocation="myschema.xsd"/> However, when accessed through ISA, some implicit mapping changes the server name to the ...
0
votes
1answer
594 views

WIFI URL redirection

Is there some generic solution for redirecting hotspot users to some page before they get to their requested page? No need for authorization,billing or any other captive portal capabilities. I'm ...
1
vote
1answer
629 views

Setting expires header to multiple location block in nginx

In my nginx config, I have serveral location blocks, e.g. location ~* /a { ..} location ~* /b { ..} location ~* /c { ..} And I want to apply the expires header to all of above blocks, e.g. location ...
-1
votes
1answer
289 views

Redirecting and Remapping with mod_rewrite

First of all, am new to doing back-end server admin.. I have a main website being served on at certain IP. I have a blog address that lives on another IP, which was used on wordpress.com. When a user ...
2
votes
0answers
335 views

URL Rewrite in Apache + Tomcat set up with change in web application context

How to make URL http:/hostname:8080/abc?func=ll point to the URL http:/hostname:8080/xyz?func=ll automatically. Set up is Apache behind which Tomcat is present. Application "xyz" is deployed on ...
1
vote
2answers
205 views

URL rewriting- Usage of same DNS for new Server

I am migrating the Solaris Server to a Linux based one. I was thinking about using the same DNS/URL for the Solaris box for the new Linux Server. It would help me as - Users don't have to make any ...
0
votes
2answers
517 views

Proxy port is put automatically at Nginx and Apache combination

I successfully able to setup nginx and apache combination to serve wordpress blog with the help of this site. I exactly followed all the codes supplied in that site and following is the directory ...
0
votes
2answers
2k views

Sonicwall TZ190 Firewall traffic routing via HTTP Host name and port

Ok I am not sure if I asked the question correctly so have mercy. My network is growing at work and I am finding it hard to manage my firewall rules. The problem I am having is 2 fold: I have 4 ...
0
votes
1answer
799 views

IIS 7.5 UrlRoutingModule put the cpu at 100 %

i dont know why and dont know how to resolve my problem. Actually i get a web site whoe occassionnly have UrlRoutingModule take all the cpu. Did somebody know a test or a way i could find the problem ...
0
votes
1answer
1k views

How to locally define how a URL is resolved in Windows/IIS

I know that there is a way to make any defined URL resolve to a different URL, but I can't remember how or where to define this setting. I understand this is ambiguous, so consider the following ...
1
vote
2answers
2k views

Is F5 Big-IP Routing by DNS Names (on one IP address and port) Possible?

In IIS, it is possible to listen for many DNS names on one IP address and port and then direct users to different websites based on the DNS name. Is the same thing possible with F5 Big-IP devices?
0
votes
1answer
459 views

URL redirect to a virtual server on a VLAN

I have a production site, running off 10 servers. I've been given another virtual server on the same network as these 10 servers, to use for testing purposes. This server doesn't have it's own DNS ...
2
votes
1answer
3k views

Nginx, PATH_INFO, and url-rewriting: i must be missing something

I'm switching from Apache to Nginx/fcgi and I'm having a small issue while attempting to setup the applications rewrite rules. The code handles routes via the use of PATH_INFO, e.g., example.com/foo/...
1
vote
3answers
984 views

Connect root domain name to dyndns?

Is there any way to connect the root of a domain name to a dyndns account? This question reveals how to get www.whatever.com to point to dyndns, but is there a way to get whatever.com itself to point ...
0
votes
2answers
1k views

SharePoint 2007: Moving main site, to be a subsite - How can urls be redirected/changed?

The setup: SharePoint 2007 (MOSS Enterprise) on WINSVR03/IIS6 One site collection, with one access mapping (http://mainsite) currently I'm moving the main SharePoint site, in our one site collection,...
2
votes
1answer
2k views

URL Based Internal Redirecting

Basically, we have one external IP address, several servers internally and want to redirect to each internal server based on request URL. We do not want to install another piece of hardware to do this ...
4
votes
3answers
5k views

Nginx fastcgi problems with django (double slashes in url?)

I'm deploying my first django app. I'm familiar with nginx and fastcgi from deploying php-fpm. I can't get python to recognize the urls. I'm also at a loss on how to debug this further. I'd welcome ...