Questions tagged [url-routing]

78 questions
31
votes
2 answers

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 the scope of what I'm trying to figure out. How…
Shadowjonathan
  • 453
  • 4
  • 7
8
votes
2 answers

.htaccess with single page website

I have a single page website with URL parameters that should still open the single index.html (made with Vue.JS and Vue.JS Router). For example, there is www.example.com/, www.example.com/user, and www.example.com/user/project/myproject. Now, as you…
M Zeinstra
  • 81
  • 1
  • 8
8
votes
2 answers

How to configure IIS wildcards for account subdomains (like Basecamp)?

In effect I'm working on a SaaS application where I want to give subscribers their own subdomain to access their information (in code I will be pulling the first part of the subdomain for use as their account name), similar to how Basecamp et all…
Wayne Molina
  • 895
  • 4
  • 13
  • 24
7
votes
3 answers

What URL should the browser display with this DNS configuration?

If I have the following records in the DNS: hostname Record Type address benmccormack.com A 216.10.244.61 www.benmccormack.com CNAME benmccormack.com What should the user expect to see…
6
votes
1 answer

ISA wrong translation of the schema URL included in WSDL

I have a WSDL behind ISA server. The WSDL includes a schema However, when accessed through ISA, some implicit mapping changes the server name to the name of the application "TEST" as shown in the…
user1493140
  • 161
  • 2
5
votes
2 answers

Can HAProxy select a backend based on a lookup table?

Let's say I have items A, B, and C. I have two backend servers: server01 and server02. Item A can be handled by server01, item B and C can be handled by server02. New items and servers get added and removed, and we programatically update a hash…
kvz
  • 402
  • 4
  • 14
4
votes
3 answers

Nginx fastcgi problems with django (double slashes in url?)

I'm deploying my first django app. I'm familiar with nginx and fastcgi from deploying php-fpm. I can't get python to recognize the urls. I'm also at a loss on how to debug this further. I'd welcome solutions to this problem and tips on debugging…
reconbot
  • 2,435
  • 3
  • 25
  • 30
3
votes
1 answer

HAProxy - balance according to url_parameter

I have 2 different tomcat servers: T1 , T2 My clients that refer to my load balancer are providing the url parameter called "gender" (0 - for Male users , 1 - for Female users). only the url parameter is different between a male and a female call. I…
Urbanleg
  • 139
  • 1
  • 5
3
votes
4 answers

Getting HTTP Compression (GZip) to work with URL Routing on IIS 6

I haven't seen any questions specifically addressing this specific issue. When URL Routing is used, The Request goes into IIS and then is routed to the Aspx Page. For example, a site: www.site.com/products may route the request to…
Armstrongest
  • 189
  • 1
  • 4
  • 9
3
votes
3 answers

Apache error with URL ending in space--how to fix it?

I have a problem that a marketing e-mail was sent out to clients with a link to our website, but it ended in a space. In other words, it goes to something like http://www.example.com/somepage/%20. Sending another e-mail with a correct link would…
Jenni
3
votes
3 answers

redirect from mysite.com to www.mysite.com

i know that this has been answered many many times, so if someone wants to point me to another thread that answers my question specifically, that is fine... for right now, my searches aren't yielding many results. so i have a website…
jml
  • 153
  • 1
  • 5
2
votes
2 answers

How to RewriteRule without destroying relative path loading of source files?

I have an ugly filesystem path on the server: example.com/a/b/c/d/e/f/main.html. For simplicity, I will use example.com/httpdocs/main.html in the body of this question. I want that what the user sees is example.com/easy-to-remember. I will use…
lucidbrot
  • 131
  • 1
  • 9
2
votes
2 answers

Unable to request URL's without php file extension after upgrade to Ubuntu 14.04

After upgrading my remote server to Ubuntu 14.04 (Apache 2.4), I am unable to use my previous format where I could request URI's without calling the file extensions kind of like how pages are called in a framework like CodeIgniter. When I call…
earth2jason
  • 171
  • 1
  • 7
2
votes
1 answer

generating content based on subdomain

This is a dupe of a SO question. But I don't know if it involves setting a server config. How do I implement something like http://why.does.my.head.explode.net/? I want to do something like ytmnd where each url is a different user generated page. I…
user274
2
votes
1 answer

Whitelisting valid URL patterns on a NGINX webserver

I want to whitelist only valid URL-patterns on our RESTful webserver / API, using regexs or something. But when googling for some examples I get a little bit suspicious since there is not much documentation on that. Is it uncommon to do this? Seems…
Patrick Savalle
  • 161
  • 2
  • 6
1
2 3 4 5 6