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.

Filter by
Sorted by
Tagged with
260 votes
7 answers
66k views

What’s the point in having “www” in a URL?

Other than for historical reasons, is there is reason to have “www” in a URL? Should I create a permanent redirect from www.xyz.com to xyz.com, or from xyz.com to www.xyz.com? Which one would you ...
Quintin Par's user avatar
  • 4,423
100 votes
1 answer
40k views

How can one distinguish the host and the port in an IPv6 URL?

URLs always have this format: <protocol>://<host>[:<port>]/[<path>][#<hash>] The problem is that IPv6 uses colons, just like the separator of port and host, e.g: 2001:...
user avatar
71 votes
21 answers
13k views

How the heck is http://to./ a valid domain name?

Apparently it's a URL shortener. It resolves just fine in Chrome and Firefox. How is this a valid top-level domain? Update: for the people saying it's browser shenanigans, why is it that: http://com./...
Christopher's user avatar
  • 1,381
41 votes
3 answers
98k views

Simple apache2 redirect from one domain to another

What I want to do is the following: My domain xy.example.com no longer exists. Thus I want to do a simple redirect to the new domain abc.example.com. It should be a redirect, that also works when ...
JohnnyFromBF's user avatar
  • 1,259
33 votes
2 answers
54k views

Disabling URL decoding in nginx proxy

When I browse to this URL: http://localhost:8080/foo/%5B-%5D server (nc -l 8080) receives it as-is: GET /foo/%5B-%5D HTTP/1.1 However when I proxy this application via nginx (1.1.19): location /foo ...
Tomasz Nurkiewicz's user avatar
32 votes
2 answers
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 ...
Shadowjonathan's user avatar
23 votes
13 answers
47k views

Using .local for internal websites [duplicate]

Is it okay to use app.mycoolname.local for URLs that are private / internal? We have several applications that are web based, but they are private apps and are not exposed to the public. We have ...
user avatar
19 votes
5 answers
16k views

Can an attacker sniff data in a URL over HTTPS?

Can data included in a URL be considered secure if the connection is made over HTTPS? For example, if a user clicks a link in an email that points to https://mysite.com?mysecretstring=1234 would it ...
James Cadd's user avatar
17 votes
5 answers
2k views

How can I enforce that my urls always start with www?

I want to ensure that users come to www.mydomain.com even if they arrive through the alias mydomain.com. This is so that I have control over cookies on subdomains, and so that Google sees one single ...
Magnar's user avatar
  • 1,047
17 votes
2 answers
18k views

Prevent URL Rewrite rules from being inherited by subdirectories in IIS7

I have a URL Rewrite setup for clean URLs in a CMS and my web.config looks like this: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <...
Rich Jenks's user avatar
15 votes
6 answers
2k views

to www or not to www [duplicate]

Possible Duplicate: What’s the point in having "www" in a URL? Should I use www in front of a URL or not? Some sites say we should and some say the opposite. Pros Cons If there is no www ...
user avatar
15 votes
1 answer
19k views

Who (What?!) is "http://1.1.1.1/bmi"? [closed]

I'm not sure if this is the place to ask but I found some pages who contain links in them that start with "http://1.1.1.1/bmi". Who or what is 1.1.1.1? or maybe http://1.1.1.1/bmi has a meaning more ...
user7777777777777's user avatar
13 votes
3 answers
38k views

IIS URL Rewrite HTTP to HTTPS with Port

My website has two bindings: 1000 and 1443 (port 80/443 are in use by another website on the same IIS instance). Port 1000 is HTTP, port 1443 is HTTPS. What I want to do is redirect any incoming ...
Andy Arismendi's user avatar
13 votes
4 answers
12k views

Rewritten URLs with parameter length > 255 don't work

I'm using mod_rewrite to rewrite URLs like this: http://example.com/1,2,3,4/foo/ By doing this in .htaccess: RewriteEngine On RewriteRule ^([\d,]+)/foo/$ /foo.php?id=$1 [L,QSA] It works fine, ...
philfreo's user avatar
  • 987
13 votes
1 answer
3k views

How to set up Google ShortName service for my domain, so that the FQDN isn't needed

The blog post "A 'tinyurl' service for your domain" explains how to set up a ShortName service for your domain using Google Apps. For example, if your domain is example.com and you use Google Apps, ...
11 votes
2 answers
33k views

Add trailing slash when it's missing in nginx

I'm running Magento on Nginx using this config: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/configuring_nginx_for_magento. Now I want to 301 all URLs without trailing slash ...
user avatar
10 votes
8 answers
61k views

Why can't some websites be shown without the "www" in the URL? [closed]

I used to type the website URL without the "www" and it works fine with almost all sites that I have tried, so far. But I realize that my university's website never show up if you don't type the "www"...
9 votes
3 answers
8k views

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 ...
Ben McCormack's user avatar
9 votes
1 answer
24k views

HTTP URL Redirection Command Line Trace [closed]

I have to produce definitive evidence that can be documented on a piece of paper, proving that one URL redirects to another. When you browse to the URL in question, the web server responds with an ...
Giffyguy's user avatar
  • 365
9 votes
3 answers
8k views

What determines whether the FQDN is interpreted as IPv6 or IPv4?

When I type a Fully Qualified Domain Name (FQDN) in my URL bar, the browser connects to some mapping table (where is this table stored? with the service provider?) that determines where the file ...
Lazer's user avatar
  • 435
8 votes
6 answers
10k views

Standard for singular vs plural type names in urls [closed]

I work on a web site where we are having a major re architecture. There is a point which may be a little persnickety but I can't see a standard one way or another. When you are using real words in a ...
Jeremy French's user avatar
8 votes
1 answer
16k views

Using curl to make a HEAD request with a hard timeout

I'd like to use curl to send a HTTP HEAD request to a URL to verify that it is working correctly (server is up and sends a successful response). At the end, I need the final HTTP response code ...
jrdioko's user avatar
  • 577
8 votes
4 answers
19k views

How to make a URL point to a Tomcat instance?

Sorry if this question makes no sense (no expert here), but I understand that tomcat listens to port 8080 and that url are usually addressed to 80. Is there a way to tell DNS that urls should point to ...
Jérôme Verstrynge's user avatar
8 votes
3 answers
3k views

Enterprise internal URL conventions

developer here... I'd like your IT perspective on this one... I'm building a new internal web app for my company, and starting to think about how it will be deployed. Many of the existing web apps ...
Ben Brandt's user avatar
8 votes
4 answers
71k views

How do you configure IIS 7 to use a subdirectory as the default document?

So I have a website running on a discount asp.net account, and I put an asp.net mvc app in a subdirectory. If my url is 'www.website.com' and my app is in directory 'sample', then 'www.website.com/...
Mark Rogers's user avatar
8 votes
1 answer
31k views

Apache: redirect specific URL to a local server on different port

This seems straightforward, but I can't make it work. I have a pretty trivial webserver that only needs to do two things: example.com/status.html returns a local file (this works) example.com/atom ...
Steve Bennett's user avatar
7 votes
2 answers
18k views

nginx url rewriting. i just don't get it

Ok, an example url is http://www.mysite.com/?p=account&view=settings the p uri is a constant. all urls have it. the view is one of many optional uri. i've tried to understand url rewriting ...
r3wt's user avatar
  • 202
7 votes
3 answers
38k views

404 Error on a file that exists?

A script makes a GET request to my URL like so: http://mydomain.com/cgi-bin/uu_ini_status_audios.pl?tmp_sid=b742be1d131c4d32237a9f1fcdca659e&rnd_id=0.2363453360320319 However, I get a 404 ...
Abs's user avatar
  • 1,579
7 votes
2 answers
13k views

Rewrite URL before passing to proxy Lighttpd

I'm trying to setup a reverse proxy in lighttpd, such that all requests (and only those requests) under /mobile/video is redirected to the / directory of a secondary web server. This is pretty easy in ...
futureelite7's user avatar
6 votes
11 answers
609 views

Will my URL stay secret if I never link to it?

I have a URL that I would like to share with my friend who needs the information on it, but I do not want the public to see it. The URL refers to an index.html, which is in my public_html and ...
user9474's user avatar
  • 2,468
6 votes
3 answers
16k views

Is it ok to not use 'www' in my website subdomain url?

We have a website that is a subdomain of our primary domain, such as site.example.com. The official URL of the website is http://site.example.com, but some people keep referring to it as www.site....
churnd's user avatar
  • 4,087
6 votes
1 answer
175 views

ISA wrong translation of the schema URL included in WSDL

I have a WSDL behind ISA server. The WSDL includes a schema <xsd:include schemaLocation="myschema.xsd"/> However, when accessed through ISA, some implicit mapping changes the server name to the ...
user1493140's user avatar
5 votes
2 answers
16k views

Is there a limit on the length of URLs when using Amazon ELBs? If so, is there a way to increase it?

We appear to be encountering an error due to Amazon ELBs truncating a long (over 1K characters) URL. I have searched through the usual suspects, but can't find any discussion of URL length limits for ...
Jordan's user avatar
  • 153
5 votes
2 answers
5k views

Faster way to ping URL than curl [closed]

What would be the fastest way to check whether the specified URL is working? (responding in OK http status code)? For now I'm using curl, but I have bunch of URLs to test in a loop, so I'm looking ...
Sfisioza's user avatar
  • 592
5 votes
1 answer
6k views

How to pass Question Mark (?) in password for HTTP Basic Authentication in URL parameters?

I am automating a website which requires HTTP Basic Authentication. The suggestions given in this link work like a charm in most cases: Can you pass user/pass for HTTP Basic Authentication in URL ...
Sandeep Koparde's user avatar
5 votes
1 answer
7k views

What MIME type should I put for Windows shortcut file (.URL)

If I want to have a Windows shortcut file (foo.URL) to be saved for the users, what MIME type should I assign for it? Default text/plain causes Windows to suggest it to be saved with .txt added as ...
Touko's user avatar
  • 241
5 votes
2 answers
3k views

Django rewrites URL as IP address in browser - why?

I am using django, nginx and apache. When I access my site with a URL (e.g., http://www.foo.com/) what appears in my browser address is the IP address with admin appended (e.g., http://123.45.67.890/...
Mitch's user avatar
  • 321
4 votes
7 answers
460 views

What does the "//" in "http://serverfault.com/questions/ask" stand for?

I use URLs all the time typing them in with and without "//" after the "http:" but what does the "//" really stand for?
non sequitor's user avatar
4 votes
2 answers
469 views

Domain name change with minimum seo impact

I am owner of an existing (3 yr. old) domain http://www.22shrutiharmonium.com and my website appears at the top of the search results in case of some search phrases like "22 shruti" , "22 shruti ...
Rupak Kharvandikar's user avatar
4 votes
1 answer
23k views

Block specific URL in HAProxy / url-encoding

I'm trying to restrict access to a specific URL. It should not allowed to access /admin.php. frontend example acl restricted_page path_beg -i /admin\.php http-request deny if restricted_page ...
user avatar
4 votes
2 answers
8k views

How to change the URL on my Amazon EC2 webserver

I am at the point in playing around with EC2 that I have launched a webserver. Right now, the website URL looks like http://ec2-<some numbers>.compute-1.amazonaws.com/ I am evaluating the ...
Sarah's user avatar
  • 41
4 votes
6 answers
5k views

Redirecting http://www.example.com/index.html to http://www.example.com/ (without looping)

For aesthetic reasons (I prefer when there is a strict one-to-one mapping between URL and pages), I do not like the fact that http://www.example.com/index.html and http://www.example.com/ yield the ...
bortzmeyer's user avatar
  • 3,941
4 votes
1 answer
4k views

HAProxy Specific URI

So my HAProxy configuration is similar to this. listen webaustin 0.0.0.0:80 mode http timeout connect 12000 timeout server 60000 timeout queue 120000 balance roundrobin ...
grufftech's user avatar
  • 6,840
4 votes
1 answer
22k 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?...
astropanic's user avatar
4 votes
2 answers
921 views

URL rewrite in IIS 7

I have a question. I'm using IIS 7 URL rewrite. It works fine, but now I want this: http://www.example.com/http://www.domain.com to be: http://www.example.com/www.domain.com I have no clue on how ...
user avatar
4 votes
3 answers
26k views

How to redirect root to subdirectory while maintaining URL in the address bar

I have an nginx setup with folder structure like this: - www |- splash |- blog www is the root folder. I would like to redirect users who access http://example.com to the splash folder. But I ...
Goni's user avatar
  • 41
4 votes
0 answers
3k views

Is websocket reverse proxy possible with IIS 8.5 & URL rewrite 2.0?

I installed Tomcat as a java app server behind IIS. Using the following rules I can rewrite static pages just fine, but alas, websocket connections are never established: <?xml version="1.0" ...
Mirco's user avatar
  • 53
3 votes
4 answers
703 views

Redirect www from DNS records

Related to this question: What’s the point in having “www” in a URL? How can I do a “www” redirection form a DNS record level? I don’t want to tweak apache or IIS to achieve this.
Quintin Par's user avatar
  • 4,423
3 votes
4 answers
3k views

How to add URL's to wiki (MediaWiki) powered documentation?

We have an internal company wiki. The wiki engine being used is MediaWiki, the wiki engine that runs Wikipedia. Some of it contains IT stuff. One of the things i want want to have are hyperlinks to ...
Ian Boyd's user avatar
  • 5,343
3 votes
1 answer
8k views

I need to configure haproxy with multiple ssl ports

I have two servers which have the same URL but the port number may change. I want to redirect these two URLs HTTPS. If I enter my first URL (http://example.com) then I want to it will redirect to ...
parag bharne's user avatar

1
2 3 4 5
11