Questions tagged [url-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
76 views

Is it possible to reveal URLs in a masked, server-side 301 redirect?

I work for a search monitoring company and I'm currently investigating some advertisements which are hiding malicious URLs in masked, server-side redirects. When users click these ads, they're ...
0
votes
0answers
9 views

Redirect url request with specific port to url with default port(443)

Previously I had website with url: https://example.net:100 but going forward I removed the specific port i.e. port 100 from the url and set it on default port as url: https://example.net. Here if ...
0
votes
0answers
6 views

Routing API requests to proper backend when using single domain name

Architecture question here. I have an application (PHP/MySQL) on which each client have a diferent subdomain. I also have a subdomain dedicated to an API, which is shared among customers. This ...
0
votes
3answers
183 views

Azure gateway for web apps

We are looking for an Azure solution for routing incoming API messages (microservices-based) through a single entry-point to several Azure Web App instances (*.azurewebsites.net), rather than several ...
0
votes
2answers
216 views

Query string issue with php-fpm and nginx

I am trying to run a PHP app using Nginx. Rewriting URLs work properly, however, query strings are not passed to the PHP files. Am I doing something wrong in the below configuration? I would ...
1
vote
1answer
37 views

Serving subsection of urls on different network card

I have a Django 2.2 web application running on Apache 2.4 Ubuntu 18.04 web server, which has two network interfaces. One network interface is for internet access(eth0) and other one is for local ...
1
vote
1answer
49 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
91 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
469 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....
8
votes
2answers
2k 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
894 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
607 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
144 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
52 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
57 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
257 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
4k 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
455 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
479 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
385 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
86 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
4k 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
201 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
497 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
874 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
2k 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
543 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
775 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
406 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
818 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
6k 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
502 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
163 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
4k 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 ...
5
votes
2answers
4k 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
103 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
7k 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
3k 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
85 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
2k 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
3k 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
161 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
668 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
817 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
341 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
364 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 ...