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
1
vote
1answer
46 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://...
0
votes
1answer
162 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 ...
0
votes
1answer
220 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 ...
0
votes
1answer
623 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": { "...
0
votes
2answers
558 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 ...
0
votes
1answer
7k 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 ...
0
votes
1answer
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 ...
1
vote
0answers
702 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. ...
0
votes
1answer
187 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 ...
0
votes
1answer
93 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....
0
votes
1answer
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 ...
1
vote
3answers
16k 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?
0
votes
0answers
43 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 ...
1
vote
1answer
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....
0
votes
1answer
976 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 ...
30
votes
3answers
46k 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 ...
1
vote
1answer
147 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 ...
1
vote
1answer
130 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....
1
vote
1answer
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 ...
8
votes
1answer
12k 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 ...
0
votes
1answer
993 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 ...
45
votes
4answers
100k 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 ...