Questions tagged [uri]

URI stands for "Uniform Resource Identifier", and is typically a string used to identify a resource over a network or file system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
301 views

NGINX - How to serve file with filename that begins with the last segment of uri?

I have many PDFs in a \drawings folder on my server. The filename structure is: 8 digits, underscore, Rev level letter -- i.e. \d{8}_[A-Za-z]\.pdf. These files are organized in subfolders that match ...
Sean O's user avatar
  • 277
0 votes
0 answers
133 views

Some web pages cannot be opened due to timeout on MS Windows

This is a very strange issue related to one (and only) particular PC in our network running Windows 10. These two web pages cannot be opened on this PC: https://www.chces-soutezit.cz and https://...
crysman's user avatar
  • 141
0 votes
1 answer
2k views

Nginx split the URI into variables to use on proxy_pass

I'm tring to get the URI parts to then pass it to the proxy_pass url. But I don't know about regex to do this. I need to get the first and last URI into a variables to pass it on the proxy_pass like ...
user1505698's user avatar
0 votes
1 answer
581 views

Nginx Show Upstream Server Name and Backend Port With URL Without Trailing Slash

I have setup a Nginx server as proxy for a back-end. If the back-end is down, Nginx serves from a backup of the back-end. The proxy works when the URL ends with a trailing slash. If I omit the ...
Tygre's user avatar
  • 1
0 votes
1 answer
653 views

NGINX proxy_pass with changing URI

What I want to achieve: When I access my site "https://my.domain.com/comics", it will point to http://192.168.1.55:3322/login page which is the comic webserver login page. I will enter my ...
Fish Puki's user avatar
0 votes
1 answer
433 views

Nginx robot proxy_pass to another port with change url

I Have a problem with nginx configuration. If user agent is "robot" - then proxy pass to another port with setting corrent uri as argument for example : have two services localhost:5000 and ...
Ivan Korneev's user avatar
0 votes
1 answer
29 views

How do I make it so that pages that don't physically exist link to certain page only if after a certain directory?

How do I make it so that when a user goes to mydomain.com/test/<any page after this point> It displays the page at mydomain.com/testhandler/ and without returning any error. For an example I ...
Laith Striegher's user avatar
1 vote
1 answer
2k views

Convert nginx $query_string in location to a params

I want to use the location and convert a URL to GET parameters in my server. I don't care if it is one, two or more params in the URL but it would be something like this, if I go to this URL https://...
aEVA12's user avatar
  • 13
0 votes
1 answer
1k views

How can I configure my network to append the domain and top level domain to a URL?

In a browser, for URI server.group.myhomenetwork.com, I should be able to type server.group/ and press Enter. The browser autocompletes the URI to server.group.myhomenetwork.com and fetches the ...
ndemarco's user avatar
  • 213
0 votes
1 answer
600 views

DNS records - custom imap domain URL using my domain

I want to setup a custom email imap domain name as a DNS record that points, for example, imap.mydomain.io to imap.google.com, so that I can give imap.mydomain.io url to my email customers. This is ...
alexandre1985's user avatar
0 votes
1 answer
1k views

ansible uri replace + sign with space in body or jenkins api replace it, who has issue?

I am using jenkins api to create credential by ansible. - name: Add credential to add node uri: body: | json={ "": "0", "credentials": { "...
Nilesh's user avatar
  • 255
0 votes
2 answers
798 views

Ansible slurp as private key in jenkins credential api error for json parsing?

I have jenkins setup, now I want to add node to jenkins, I am following the steps in How-to-Connect-to-Remote-SSH-Slaves. There is step to create credential with slave node private key. I try to ...
Nilesh's user avatar
  • 255
1 vote
1 answer
12k views

nginx extracting from request_uri and adding it to redirct destination

i am currently moving new builds of an existing site onto a new server using nginx and have been told the URL need to direct to a new PHP file to handle how to pick out the date from a new DB. an ...
Jimjebus's user avatar
0 votes
1 answer
2k views

URL encoded URIs with umlauts not working on other Server

we are about to move our companies Website (Drupal 7) from the old Server A to the new Server B. As usual we ex-/imported the database and copied all the files via ftp. Since our company resides in ...
philipp's user avatar
  • 137
1 vote
0 answers
784 views

Can I deny in nginx based by URI and IP?

Basically I have an wordpress site (with a ecommerce store and a social login). I have denied all access to wp-login.php based on ip address. The problem is that social login uses this wp-login file. ...
Alex's user avatar
  • 11
0 votes
1 answer
199 views

Nginx forward request on basis of URL parameter

Scenario : Web requests are coming to nginx on port 80. I need to forward requests on basis of URL parameter. If URL contains userId=foo anywhere in URL then it must got to Server A and If URL ...
Abhishek's user avatar
0 votes
1 answer
134 views

Assigning different uri paths to different servers

I have the following situation: There is a domain with offers different services like a blog, a forum and a wiki whic are reachable via different URI paths all at e.g. IP 123.123.123.123: www....
kghbln's user avatar
  • 441
0 votes
1 answer
2k views

Two apps on Apache server with URI

I need to install a server with Apache 2.2 on Linux and I need to do two VirtualHosts differentiated by URI. But with only one domain name and one ip address. And I can't use Alias. I tried ...
MyName's user avatar
  • 103
1 vote
3 answers
21k views

Manage multiple ports with Apache Tomcat

I already switched my default port from 8080 to 80, but here's a problem: I need to also be able to manage port 8000, too. Current ports are: 8080, 80. How do I map a new port (8000) to a new webapp?
crownusa's user avatar
0 votes
0 answers
94 views

How to tell IIS to ignore data after file reference in URI without using "?" or "#" mark

Suppose I have static client-side processed HTML file accessible at http://www.example.com/File.html I would like to append additional data after File.html. I know I can use ? but is there any other ...
Robert Koritnik's user avatar
1 vote
1 answer
2k views

nginx + regex, remove all parts of URI except the last one

With an URI like /a-part/some-part/another-part/last-part/?some_param=some_value how do I go about removing everything up to the last part with params and ultimately rewrite it to look like /index....
Everyone's user avatar
0 votes
1 answer
1k views

Is there a way to obtain a Dell server's RAID configuration/level using only winrm/wsman? (ESXi servers)

I've seen videos describing how to configure RAID using wsman/winrm commands run against a server's iDRAC, but I can't seem to find anything that will just give me the current configuration and RAID ...
EGr's user avatar
  • 629
31 votes
3 answers
54k views

HAProxy reqrep remove URI on backend request

real quick question regarding HAProxy reqrep. I am trying to rewrite/replace the request that gets sent to the backend. I have the following example domain and URIs, both sharing the same domain ...
Jim's user avatar
  • 988
1 vote
1 answer
154 views

SIP [email protected] vs (123) 456-7890

I'm trying to understand SIP, and one thing that keeps confusing me is phone numbers and dialing plans vs SIP URI's like [email protected]. What is the difference? How do they coexist/work together? For ...
Azendale's user avatar
  • 1,555
1 vote
1 answer
135 views

need rewrite nginx

I'm having URLs like: index.php?q=123&w=456&e=789 and I need to rewrite them in something like: index/123/456/789 without using "if". So far I've tried: location / { rewrite ^/index....
Ilya Vasilev's user avatar
1 vote
1 answer
1k views

Apache RewriteCond: inject string into URI between regex match groups

EDIT This works, needed to use % in place of $ for capture groups: RewriteRule (.*) http://localhost:8081/%1/%{TIME_YEAR}1101%2 [P] Having a hard time sorting this out. Need a date string ...
virtualeyes's user avatar
9 votes
1 answer
17k views

adding a global URI prefix for Tomcat web apps

I am setting up a reverse proxy configuration where all requests whose path starts with '/apps/' should be proxied by Apache to Tomcat. This IMO has 2 benefits: it makes it possible to reserve ...
rvdb's user avatar
  • 329
0 votes
1 answer
1k views

Nginx simple redirect old uri to new uri

I've got problems with simple SEO friendly redirect. Web page has changed and I'd like to redirect old uris to new ones. For example I'd like to redirect /contact to /contact.html I've tried ...
Daimon's user avatar
  • 131
49 votes
4 answers
119k views

What's the maximum URL length in Tomcat?

And is it configurable? Can I set up Tomcat so that a URL with, say, 200K of query params goes through successfully to the contained servlet? Yes, I know one should use POST when you have lots of ...
Michael Gundlach's user avatar