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
1 answer
29 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 ...
user avatar
0 votes
1 answer
188 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
1 vote
1 answer
346 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://...
user avatar
  • 13
0 votes
1 answer
460 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 ...
user avatar
  • 173
0 votes
1 answer
349 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 ...
user avatar
0 votes
1 answer
837 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": { "...
user avatar
  • 255
0 votes
2 answers
637 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 ...
user avatar
  • 255
0 votes
1 answer
8k 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 127
1 vote
0 answers
723 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. ...
user avatar
  • 11
0 votes
1 answer
195 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 ...
user avatar
0 votes
1 answer
98 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....
user avatar
  • 361
0 votes
1 answer
1k 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 ...
user avatar
  • 103
1 vote
3 answers
18k 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?
user avatar
0 votes
0 answers
54 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 ...
user avatar
1 vote
1 answer
1k 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....
user avatar
0 votes
1 answer
997 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 ...
user avatar
  • 565
31 votes
3 answers
51k 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 ...
user avatar
  • 978
1 vote
1 answer
148 views

SIP me@domain.com 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 me@domain.com. What is the difference? How do they coexist/work together? For ...
user avatar
  • 1,505
1 vote
1 answer
134 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....
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 ...
user avatar
9 votes
1 answer
14k 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 ...
user avatar
  • 319
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 ...
user avatar
  • 131
48 votes
4 answers
108k 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 ...
user avatar