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.

29 questions
0
votes
1 answer

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 contains userId=bar anywhere in URL then it must got to…
Abhishek
  • 3
  • 3
0
votes
1 answer

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.example.com/blog www.example.com/forum ... etc. Now, e.g.…
kghbln
  • 411
  • 2
  • 10
  • 20
0
votes
1 answer

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 something like that but that doesn't work :
MyName
  • 103
  • 6
0
votes
0 answers

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 way so default IIS behaviour would ignore it?…
Robert Koritnik
  • 912
  • 5
  • 19
  • 35
0
votes
1 answer

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 levels. Is this possible? What uri would I use? If…
EGr
  • 609
  • 4
  • 14
  • 29
0
votes
1 answer

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 location = /contact { rewrite ^ /contact.html…
Daimon
  • 131
  • 1
  • 5
0
votes
0 answers

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 the first 4 digits of the filename --…
Sean O
  • 277
  • 4
  • 5
  • 16
0
votes
0 answers

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://toulcuvdvur.cz (timeout) Why is it strange? Both URLs…
crysman
  • 141
  • 1
  • 1
  • 6
0
votes
1 answer

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 this: https://example.com/user/port to proxy_pass…
0
votes
1 answer

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 trailing slash, the URL shown becomes the name of the…
Tygre
  • 1
0
votes
1 answer

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 password, the comic web server will then to…
Fish Puki
  • 1
  • 1
0
votes
1 answer

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 localhost:6000 port all non robots pass to 5000 and robots…
0
votes
1 answer

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/ It displays the page at mydomain.com/testhandler/ and without returning any error. For an example I have a system in place where I use the URI to link to an…
0
votes
1 answer

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 resource. I've worked in networks that behave this way.…
ndemarco
  • 213
  • 1
  • 2
  • 13
1
2