Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [url]

Uniform Resource Locators are a generic scheme for specifying the location of resources. They are most commonly used for identifying locations on the Internet (such as webpages and email addresses) but can be used to reference almost anything.

-1
votes
2answers
27 views

Is there URL filter like protocol in TCP/IP stack?

I find many type routers have their self-existent URL filter settings. Tenda: Nexxt: So, is there a URL filter protocol in TCP/IP stack? and if is, is there any software for controlling every ...
-1
votes
0answers
36 views

Nginx URL Parameter Check

I'm looking to redirect a URL to Google when it is of this pattern. https://example.com/SOMETHINGHERE?_=ANY_STRING_HERE I'm not sure if I can do this via $arg_ or would I have to use something else. ...
0
votes
1answer
32 views

nginx URL Redirect

Excerpt from conf file server { #HTTP SITE listen 80; server_name example.tv www.example.tv; #Redirect HTTP to HTTPS location / { return 301 https://example.tv$request_uri; ...
0
votes
2answers
145 views

nginx rewrite url without changing browser address

I want to change the url of a request but the browser address should not change. To achieve this I have tried the below configuration: location /my-website { proxy_pass http://tomcat/...
0
votes
2answers
49 views

htacess rule for dynamic url in GET method

I have a GET request as http://www.example.com/index.php?location=location&category=category&keyword=any+keyword I have converted this URL to http://www.example.com/location/category/any+...
0
votes
1answer
10k views

Redirect www.xxx.com URL to xxx.com on Heroku

I'm using pointDNS I have an alias: xxx.com to the xxx.herokudns.com. Now I have added a CNAME www.xxx.com and redirected it to xxx.herokudns.com (also tried xxx.com with the same result). What I ...
0
votes
0answers
149 views

IIS 10 URL Rewrite HTTP to HTTPS redirect on same port

I would like an easy redirect but doesn't work. Original: http://exwebsite.com:8084 to Redirect: https://exwebsite.com:8084 Can u help me? The simple <add input="{HTTPS}" pattern="off" /> and ......
2
votes
0answers
37 views

HTTPS redirect, exclude script parameters from URL [closed]

My goals: 1. http://example.com/page/index.php -> https://example.com/page/ 2. http://example.com/page/ -> https://example.com/page/ 3. http://www.example.com/page/ -> https://example.com/...
0
votes
1answer
23 views

nginx proxy_pass with flexable subpath possible?

currently I have this as my proxy_pass which works fine location = /sms/resetpass { proxy_pass http://xxx.xxx.xxx.xxx/api/resetpass; proxy_http_version 1.1; ...
0
votes
1answer
56 views

Partial UPPERCASE and lowercase cause URLs not going to the same place?

I work for an organization with a content management server that was newly switched to Apache. I don't know what it was running before, but I am unsure why the following is happening and how to fix it ...
0
votes
1answer
89 views

Nginx confusing $fastcgi_script_name with $fastcgi_path_info

Here is the relevant part of my Nginx configuration file: http { log_format fastcgi '$remote_addr - $remote_user [$time_local] "$request" ' '$status $...
0
votes
1answer
94 views

Nginx SSL-rewrite to localhost

I want to redirect localhost request to HTTPS. This is what my .conf looks like: server { listen 80; listen 443 ssl; ssl_certificate /etc/ssl/localhost.crt; ssl_certificate_key /etc/ssl/...
0
votes
1answer
105 views

active directory dns domain name and external website (same domain)

When our AD domain was originally created, it was named somedomain.com. The problem we've been having, is with the website for somedomain.com, being hosted elsewhere on the net. Computers on our ...
1
vote
1answer
84 views

Apache redirect - remove all queries

I am trying to remove all queries in URL: https://api.myserver.com/image.png?arg=0 should become https://api.myserver.com/image.png I used this: RewriteCond %{QUERY_STRING} ^arg=0$ ...
0
votes
2answers
36 views

Control IP Address to access URL on Linux

I have a J2EE application deployed on linux cloud over internet accessed through HTTP URL. Now, I want to restrict the IP addresses who can access it. Kindly suggest if this is achievable. Thanks in ...
1
vote
1answer
175 views

Is it possible to normalize “double-dots” URL using nginx?

According to RFC3986 URL like this http://example.com/catalog/category/goods/../brand/product.html converted by some UserAgent (curl would be nice example) to http://example.com/catalog/category/...
1
vote
1answer
204 views

HAProxy encode url for querystring

I have a system that needs to preserve the original referer over multiple redirects. To achieve this I'm trying to write the referer to the URL query string. I already got that working (somewhat). ...
0
votes
0answers
67 views

Virtual Hosting: Backend WebLogic Server IP Address is in the browser URL

I am configuring virtual hosting on Apache 2.4 web server, and the back end is weblogic8.1 server. The weblogic server (private IP: 192.168.103.101) has three applications running, each one is ...
-1
votes
1answer
125 views

accessing phpmyadmin and web pages on cloned server [closed]

I created a clone of my server and would like to use phpmyadmin to trim down the mySQL databases on the clone. Can't figure out how to access it. On my live server, the URL is: http://mydomain/db12/...
1
vote
1answer
20 views

URL rewriting and indexation by search engines

For a website, I want using URL rewriting to allow easy access to pages and better indexation. For instance, assume the page about Mozart is: www.site.ext/composers/index.php?cmd=composers&id=...
1
vote
2answers
56 views

Access server using URL locally without going through Internet

I have an SVN repo on my server and access it using dynamic IP service https://MyMachine.no-ip.com/svn/etc.. When I connect to it from anywhere I connect successfully and everything is fine. But when ...
1
vote
1answer
14 views

Apache adds “./” to file names with colons in them

I ran in to this today running httpd on Centos 7.3. We do a lot of raw getting of apache-generated HTML docs for file download. Apparently, if a file name has a colon, apache well prepend "./" to ...
0
votes
0answers
386 views

Haproxy route to port based on URL path

I'm fairly new using Haproxy and am launching this app that is bound to Port 85. I have set up what I think I need in the config file. When I try to access the app URL in the browser it seems to work ...
0
votes
1answer
392 views

nginx URL rewriting regex when URL contains a specific word but not other

Please consider the following URLs. https://products.example.com/family/child https://products.example.com/products/family/child https://products.example.com/family/children https://products.example....
-1
votes
1answer
20 views

Which URL is consired as Valid ,while checking for Broken Links

I have bunch of URLs and im trying to check if these URLs are Valid(Errors like 404 etc).In such a scenario what URLs are considered as Valid? Example Scenarios The server responds with some HTTP ...
0
votes
0answers
20 views

Apache alias a short extensionless symbol to a file

I would like to have a short url like: https://myDomain/essr to evaluate to: https://myDomain/dir1/dir2/myFile.html I've been trying to use alias in my apache config but I haven't been able to ...
0
votes
0answers
333 views

Proxy NGINX Traffic to different internal IP while keeping the URL

General Info: So I Setup a Proxmox VE to tinker around at home with Server Setups und possible Services I want to offer first of all Nextcloud for Friends and Family. From my ISP I have one static IP ...
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 ...
0
votes
0answers
24 views

Add the original requested URL to the rewrite rule?

Working with our hosting provider, they've added an nginx rule to help us block access to files within a particular folder. Basically, if the user is logged into the WordPress site, it gives them ...
1
vote
0answers
413 views

nginx rewrite without url decoding

I use rewrite on my nginx server to allow URLs like https://www.example.com/en/product/apple.html to pass en, product and apple.html to a single PHP script like so: rewrite ^/([a-zA-Z0-9_\-]+)/([a-zA-...
0
votes
0answers
55 views

does forwarding a domain on godaddy also forward all links

I want to change to a new domain. I currently have example.com I want to forward to newexample.com If I forward on godaddy. Will it also forward links for example Will example.com/events Forward ...
-1
votes
3answers
191 views

Systematically add fragment to URLs

I have a mean-stack website with html5mode enabled. In index.html, I have <base href="/1/" />. And I have the following nginx setting such that www.myweb.com/home becomes automatically www.myweb....
1
vote
1answer
190 views

Accessing phpmyadmin in Nginx directly from IP address (without a subdomain)

In an Ubuntu 16.04 Nginx environment which has some sites working fine, I've installed phpmyadmin: cd /var/www/html wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip find ....
1
vote
1answer
28 views

How serve different content using apache and (maybe) mod_rewrite

There are some files (with unique names) in a directory structure like this: /var/www/domain1/unique_filename1 /var/www/domain2/unique_filename2 /var/www/domain3/unique_filename3 At the moment, all ...
0
votes
0answers
315 views

Nginx redirect url if it contains a parameter

This is the situation I've got. I have a website which uses a lot of React. There are few html pages and content is loaded into the html pages depending on the requested URL (it's almost a single ...
0
votes
0answers
111 views

Nginx redirect url to html file and append empty parameter

I need to redirect requested url to a html file on the file system. I already know the answer to this: location /this/is/some/url { index file.html; alias /path/to/the/; } The location of ...
0
votes
1answer
496 views

How to do redirect from url to html file without downloading it in nginx

I need to redirect url to html file located on the file system. This is that I have tried so far: location /this/some/url { alias /path/to/the/file.html } When I run this the redirect works but ...
1
vote
0answers
31 views

Random Sub Domains being generated

I'm having a strange issues where a coworker of mine received a google alert about 'Deeper Learning' content -- this normally directs her to any new happenings on her keyword'Deeper Learning' This ...
1
vote
0answers
500 views

Redirect to Docker container with Apache in a relative URL

I have a Docker container running on a Ubuntu server on the port 8080. I can access to the web container with localhost:8080 Now I want to access to this container from the outside with my public IP ...
1
vote
1answer
140 views

nginx upstream's wrong response

I'm having a problem with my upstream. There is a location block for the web application as below. I'm doing A-B test with this. location / { include backend.conf; } backend.conf proxy_buffering ...
0
votes
0answers
447 views

How to replace /wp-admin with other URL in Nginx?

I have a Wordpress on my website and I want to hide and secure access to the Dashboard. It works inside VDS with Nginx. I want a visitor to see 404 error page if he visits /wp-login.php or any /wp-...
1
vote
1answer
2k views

How check in nginx for query_string parameters?

How I can write a condition in the nginx config testing if a q parameter was entered in the URL? This doesn't work: if ($arg_q) { return 301 "/someurl"; } It catches URLs like /search?...
0
votes
1answer
549 views

How to hide port number in address bar for jenkins

I have setup Jenkins to access on port 80 rather than 8080 using iptables on Ubuntu 16.04 by following the article on Jenkins documentation. It is working fine and I can access the Jenkins using url ...
0
votes
2answers
191 views

Squid add LAN IP, squid username and squid port in query when using url_rewrite_program

I use squid as transparent proxy with SSL Bump interception. Squid HTTP and HTTPS ports configuration are : http_port 3127 transparent https_port 3129 intercept ssl-bump generate-host-certificates=...
-1
votes
1answer
111 views

Polling x amount of URL's every second with Java [closed]

Is it even possible to poll let's say 10,000 URL's every second? I do keep threading in mind with the following code: for (int i = 0; i < 10000; i++) { Executors.newScheduledThreadPool(10)....
0
votes
1answer
299 views

Is a case-insentitive URL under RH7 with Apache possible?

UPDATED ON 23-08-2017, see section below I want make URLs under RedHat 7 case-insentitive just before the Apache access to the declared directory. I tried with mod_rewrite and mod_speling. No one ...
1
vote
1answer
426 views

nginx proxy domain to url, display old domain

I have two sub-domains which I want to link in the following way: https://suba.example.org/ is my main subdomain, https://subb.example.org/ is my secondary subdomain. On suba I have a server running a ...
-3
votes
2answers
303 views

An optimal way of nginx rewrite rule building for pretty URL [closed]

The webpage is accessed in the following way: `example.com/` or `example.com/?site=website` In this example, I'm accessing the websites located on example.com domain. Could anyone suggest an ...
-2
votes
4answers
132 views

Redirect www.site.com to https ://www.site.com without breaking email

I want this: www.example.com -> https://www.example.com example.com -> https://www.example.com Here are my URL Redirects Record Record 1 Host: www Value: https://www.example.com/ Record 2 Host:...
0
votes
3answers
595 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://...