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.

519 questions
2
votes
0 answers

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 on a relative URL. For example:…
2
votes
0 answers

URL Rewrite in IIS 8.5 HTTPS to HTTPS end in gateway eroor

I really could use some help from the experts out there... Currently we use a reverse proxy to publish several http sites to the outside world, all are running fine. Now I need to give HTTPS access to an internal HTPPS site. internal HTTPS site…
2
votes
1 answer

How to hide backend URL/URI with Nginx reverse proxy

Our company develops a new SaaS solution which will be used by resellers and their customers. For the customers of our resellers should the solution be branded like it is a software application from the reseller himself. This is completely…
CodeNinja
  • 305
  • 1
  • 8
  • 18
2
votes
1 answer

Removing path segments with encoded values for nginx

I have a location block like the following location ^api/([^/]+)(/.+)$ { set $my_host $1; set $my_path $2; proxy_pass http://$myhost$my_path$is_args$args; } This works well for most normal cases for URIs such as…
Daniel A. White
  • 675
  • 1
  • 11
  • 20
2
votes
1 answer

Something like foreach in htaccesss?

I am in this situation: url: domain/var1/var2/var3/.../varn And I want to change that url in: url: domain?v1=var1&v2=var2&v3=var3/.../&vn=varn I found this way: RewriteRule domain/([^/]+)/([^/]+)$ domain/index.php?v1=$1&v2=$2 [QSA,NC] But as you…
Francesco
  • 121
  • 3
2
votes
1 answer

Redirect from a URL:80 to another URL:xxxxx with Windows Server 2012 R2

I would like to be able to type in http://localdnsurl and have it redirect to a more complex url like http://localdnsurl2:12345/web/index.html. IS there a way to do this Windows Server 2012's DNS service using SRV records? I've been playing around…
Jason
  • 3,931
  • 19
  • 66
  • 107
2
votes
1 answer

Reg Exp for URL in HAProxy

I'm trying to build a reg exp for haproxy that will match the second URL and direct it to a different acl than the first: mysite.com/path/ mysite.com/path/something_random The issue is that my first reg exp matches both urls above when it should…
Nimjox
  • 217
  • 1
  • 3
  • 14
2
votes
2 answers

UrlScan Config Change Not Working?

I installed UrlScan a few days ago and it seemed to be working fine, however in the log I saw it was blocking lots of files from websites that I didn't want (Explanation here) It's blocking files with Dots in the URL (Especially assets like .js…
YodasMyDad
  • 329
  • 6
  • 14
2
votes
2 answers

IIS URL Rewrite 404 Error

I am running a small intranet site off Windows 7 and IIS and I have a page page/LoadPage.aspx which is an ASPX container page for displaying a requested page, e.g. http://localhost/page/LoadPage.aspx?p=downloads (which loads downloads.html located…
Dog Lover
  • 141
  • 6
2
votes
1 answer

NGINX - Remove index.php from the end of the URL

I can access my webpages with "www.dom.com/mypage" which will redirect to "www.dom.com/mypage/". "www.dom.com/mypage/index.php" is the main file but I want to remove this from the url so if you type this in it will redirect you to…
user219962
2
votes
2 answers

Cron getting timeout when attempting to access url (wget).

I'm sure this is simple and I've been digging but no answer is quite as specific as I need it to be. The goal is easy, have Cron hit a url on my server every 5 minutes. All of that is set up and functions fine, the issue is that it times out when…
user2543853
  • 19
  • 1
  • 2
2
votes
1 answer

Windows Internet shortcut with embedded username:password

URLs of form http://username:password@example.com:80/ work fine in the address bar of any browser I tried, yet when I create a shortcut in Windows and try to launch it, it says it cannot find the address. How do I easily create shortcuts that log in…
Display Name
  • 761
  • 1
  • 8
  • 13
2
votes
1 answer

Issue when redirecting a folder using IIS url rewrite

Using Url Rewrite, I'm trying to redirect /foo_bar/* to /foo/*. I've tried this:
Jonathan
  • 1,309
  • 2
  • 22
  • 29
2
votes
1 answer

Apache2 Virtual Host redirect except on special path

Assume we have 2 domains. www.my-domain.com www.mydomain.com As Standard, we have a redirection from .mydomain.com/ to .my-domain.com/ via (mydomain.conf) ServerName mydomain.com ServerAlias mydomain.com *.mydomain.com …
Hugie
  • 137
  • 6
2
votes
2 answers

nginx django suburl doesn't work

I'm trying to setup django under some suburl, lets say /myproject, with nginx and uwsgi. However, I can't get it working. Whatever I try, seems that uwsgi_modifier1 30; option doesn't work. I always get doubled path, instead of…
Rapolas K.
  • 133
  • 1
  • 4