Questions tagged [url-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
39 views

Serve website from different directory based on URL string parameter

I would like to learn if I can serve the website from 2 different versions according to URL string parameters. Example: I have two installs on my server: example.com/website-1/ and example.com/...
0
votes
1answer
43 views

Nginx pattern matching to part of path

Here's what I would like to accomplish: All requests to /api/... should be directed to a reverse proxy All requests to /static/... should be served from /html/static/pub All other requests should be ...
1
vote
2answers
377 views

Transparent url redirection for https site

I'm hosting two new wordpress VM on my network. (on one computer) see this diagram on imgur I would like to access them by different url/domain name for example WP1.mydomain.com & WP2.mydomain....
7
votes
2answers
764 views

.htaccess with single page website

I have a single page website with URL parameters that should still open the single index.html (made with Vue.JS and Vue.JS Router). For example, there is www.example.com/, www.example.com/user, and ...
0
votes
2answers
233 views

Proxypass changing URL Apache Reverse Proxy

I am trying to connect my jupyter notebok server (:8888 port) via reverse proxy server I have such rules: ProxyPass "/serv8888" "http://localhost:8888" ProxyPassReverse "/serv8888" "http://...
0
votes
0answers
332 views

Nginx redirects to proxy instead of static files

I want nginx first redirect http to https, then check for static files in www root dir, if none, pass request to proxy. However, after http->https redirect requests are immediately passed to proxy. ...
0
votes
0answers
58 views

How to pass .jpg url to index.php in Nginx

My Yii2 application generates urls like this: http://example.com/map-image/1-map.jpg This is not a real jpg file but a dynamically generated jpg image. But nginx returns 404 error. I want to pass /...
0
votes
1answer
41 views

Modify response URL or Location header Apache2 mod_proxy

I have a WordPress site running in a server where now I need to deploy a web app on and since our SSL certificate is not wildcard it has to be under the same domain name too. Now it's running on a ...
0
votes
1answer
40 views

Routing Rules icon in Microsoft ARR 3 - Server Farm Section Does not exist

I want to implement Application Load Balancing by Application Request Routing - ARR3 on IIS8. I download ARR3 Source file and install on my server. the server farm section created in my iis but when I ...
0
votes
1answer
160 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 ...
1
vote
2answers
2k 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
161 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
407 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
239 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
1k 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
85 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 ...
1
vote
1answer
3k 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
184 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
261 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
760 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
1k 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
1k 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
4k 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
406 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
640 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
399 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
777 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
485 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
161 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\. ...
3
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 ...
4
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
100 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 ...
2
votes
2answers
6k 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
83 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
160 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
663 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
748 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
331 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
356 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
219 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
526 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
837 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?