HTTP Stands for "Hyper Text Transfer Protocol", and is the protocol that applications use to access documents/webpages/data from the world wide web.

learn more… | top users | synonyms

3
votes
1answer
237 views

Difficulty enabling caching on inherited site

I have been asked to work on a corporate website a previous employee had created. The site is on shared GoDaddy hosting. One of the first things I noticed (after the 140KB JPEG on the front page, ...
3
votes
1answer
355 views

Is there a Java-based web browser that doesn't follow hyperlinks properly?

Looking through my logs, I get this error a lot: A potentially dangerous Request.Path value was detected from the client (:). The error is usually due to someone navigating to a URL like this: ...
1
vote
1answer
266 views

CSS Sprites: Are they worth the trouble?

I can't help but wonder whether CSS sprites are very much over-used. First of all, if I stick all my images in a single file it makes an aweful lot of empty space. I know, that shouldn't make an ...
8
votes
0answers
532 views

Why is honest cloaking for Ajax considered bad practice? [closed]

Ajax-only websites are laden with many problems. Search engine invisibility is merely a small problem. They are also unbookmarkable and unlinkable and they break the functionality of back- and ...
6
votes
2answers
966 views

Canonical URL for a home page and trailing slashes

My home page could be potentially linked as: http://example.com http://example.com/ http://example.com/?ref=1 http://example.com/index.html http://example.com/index.html?ref=2 (the same page is ...
12
votes
4answers
1k views

Loading main javascript on every page? Or breaking it up to relevant pages?

I have a 700kb decompressed JS file which is loaded on every page. Before I had 12 javascript files on each page but to reduce http requests I compressed them all into 1 file. This file is ~130kb ...
12
votes
2answers
2k views

What are the Consequences for using Relative Location Headers?

According to the spec, Location headers used in a redirect require a server name HTTP/1.1 301 Moved Permanently ... Location: http://example.com/foo/baz/bar However, in 2012, most web browsers will ...
0
votes
3answers
634 views

Google search results are invalid

I'm writing a program that lets a user perform a Google search. When the result comes back, all of the links in the search results are links not to other sites but to Google, and if the user clicks ...
2
votes
1answer
599 views

Avoid the login popup when using http-auth

I have an Apache. Under the DOCUMENTROOT is a folder with an .htpasswd file for http-auth. If I open the browser and request the content in the folder I get an Popup to login. Is there a way to avoid ...
1
vote
2answers
2k views

HTTPS To http redirect issue. How to overcome?

Have already seen suggests on how to rewrite https to http. currently using this technique : RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] RewriteRule ^(.*)$ ...
0
votes
2answers
218 views

Alternative to nofollow: custom 302 url shortener?

Here's the scenario: lots of blogging platforms make it tedious to insert nofollow into links within the post content. I.e., you need to edit the html, format it correctly, etc. I have a client who ...
2
votes
1answer
463 views

Using HTTP (insecure) ad providers on HTTPS (secure) site

As more and more browsers adopt stringent checks around preventing insecure content served up on secure sites, there is impact on the use of ad networks which in many cases don't support the secure ...
1
vote
0answers
30 views

Why is nat required when proxy is enough? [closed]

My machine is connected in a local lan. to connect to the internet the traffic goes through proxy server. my understanding of proxy server is that it sends the request on behalf of the original ...
1
vote
3answers
96 views

Confused about domain names

I am confused about the difference between http://www.example.com and http://example.com, is that true "www" is actually the subdomain of domain example.com? Do people usually redirect from ...
2
votes
1answer
4k views

Redirect HTTPS request to HTTP in Apache

Can an HTTPS request be redirected to an HTTP request in Apache? If so, how?
1
vote
0answers
146 views

Can I use both Digest and Basic Authentication on the same directory in Apache?

The reason I would want to do this is to support very old browsers (e.g. IE 6) that does not implement the more secure Digest method. If all new clients advertise the types of authentication they ...
1
vote
1answer
214 views

Is it possible to invalidate cache when the referrer adress is different?

Suppose I serve an image and if someone visits from a forum then I want it to download that image. If they visit again from the same forum then I want it to use cache, but if they visit from another ...
3
votes
1answer
214 views

Use - or misuse - of ETags

I'm using an application that sets ETags by md5()ing the URL. As I understand it, that's quite insane. In effect, it means that content for a specific URL won't be fetched anew ... ever. Unless a ...
1
vote
2answers
788 views

cname forward from https to http

We are migrating web host and I wonder if it is possible in the migration phase to do a CNAME forward from https://address1.com to http://address2.com. Would the certificate still work even if the new ...
11
votes
5answers
1k views

Does it make sense to return a 410 instead of 404 when some page has been permanently removed?

Does it make sense to return a 410 instead of 404 when some page has been permanently removed? In this video, Matt Cutts says that Google treats them the same, but are there other reasons to implement ...
2
votes
2answers
2k views

Should 304 Not Modified responses include the “Last Modified” header?

I've been using the most excellent http://redbot.org tool for testing have HTTP headers on my site correct (its custom code in PHP serving dynamic content - wanting to ensure it cached where possible ...
1
vote
3answers
133 views

HTTP occurring twice in a URL

I ran into a website today that had two URLs and I'm completely stunned. The website, not to be specific, has a full address of http://example/cat/http://example/dog. I will say that the first part is ...
3
votes
2answers
96 views

Is there additional overhead for status code 500s?

We have these web applications that require specific information in a query string. If that information is not provided, the applications throw an error. It seems to me that we should explicitly ...
2
votes
1answer
203 views

Can a web-server be reached in other ways than through `HTTP` or externally?

A server hosting an application built in PHP: Can the server be reached in other ways than through HTTP or externally? Is GET and POST only populated through the HTTP protocol? Is HTTP headers, GET ...
0
votes
1answer
94 views

Making a site available at http and https after installing an SSL certificate

I just had hostgator install an SSL certificate on my site. As a result, my site is only available (right now) at https://mysite.com. Based on the answer to this question, it sounds like it's possible ...
4
votes
1answer
7k views

Configure Apache HTTP 2.2 for PUT method

I've written code for file upload and download using HttpWebRequest/HttpWebResponse class in C# with Apache 2.2 as a web server. In code I'm using request.method = "PUT". I want to config my HTTP ...
2
votes
3answers
98 views

Which content or HTTP status should return unused domain?

We've recently bought couple of domains but the content of the domains is still under development. Which content should we upload to the domains to tell search engines "There is currently nothing, ...
2
votes
1answer
930 views

http://www.example.com/http://www.example.com/ in Apache log?

I run a website, let's say www.example.com. On it I have a path and file, say www.example.com/path/file.html. The Apache log lists GET requests like: GET /path/file.html HTTP/1.1 Which is correct, ...
1
vote
2answers
194 views

Google Analytics when 404 handler is used as 'mod_rewrite'?

I'm consulting on a web site which in order to provide clean URL's uses the 404 handler to catch what would otherwise be a 404 and serve the correct content. In case that's not clear the 404 handler ...
1
vote
1answer
144 views

410 permanent delete not working

I've deleted a web page permanently and also added this rule in the bottom of my .htaccess: RewriteRule ^paysignet-payment-gateway-features-and-benefits.html$ - [G,L] But this url of this page: ...
1
vote
2answers
152 views

What is the syntax for using 410 status for deleted pages?

I want to permanently delete some pages in my site using 410 status. I'm not sure of correct syntax of removing pages using 410. I've found one syntax and I've a page( duplicate product page content) ...
6
votes
1answer
493 views

When to reply 400 Bad Request

According to www.w3.org, a Web server should reply with status code 400 Bad Request if: "The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat ...
1
vote
1answer
61 views

Is it possible for a web-server to send more files than requested for, and have the browser accept them?

I've created a basic web server for a school project, and it serves static content without a problem. I thought of having the server parse all htm/html files for links to .js/.css/image files, and ...
4
votes
1answer
80 views

Is there a way to return a response every x seconds or so to a single http request?

I'm wondering if it's possible to send a response every second or so to a single http request. Like for example the client makes an http request, then the server sends a space character every second. ...
1
vote
2answers
6k views

Where does the HTTP referer “applewebdata” come from?

My site uses a web stat service like Google Analytics, it uses a piece of javascript code to log what pages the visitor has visited and the refer url of each visit. I got some referer "applewebdata", ...
17
votes
3answers
2k views

What does WWW do?

To be clear: I am not asking whether or not I should use www in my url, or what the pros and cons are, that topic is well covered. I also wasn't sure if this was a Stack Overflow, Server Fault, or ...
6
votes
2answers
90 views

HTTP: How to be deleted from search engines at a certain point in time in the future?

Is there a way to tell search engines, that a page they crawl should be included in the search results now, but have to be deleted at a certain time in the future? I have a website where hundreds of ...
2
votes
3answers
4k views

Apache logs: “::1 … ”OPTIONS * HTTP/1.0" 200 -

Just looking at logs of a not-so-busy site on one of our Apache servers and notice tons of these in the log: ::1 - - [15/Apr/2011:12:11:40 -0700] "OPTIONS * HTTP/1.0" 200 - ::1 - - ...
1
vote
2answers
155 views

Quick Filesharing Web-App

I need to provide ftp/http services for a group of users such that: each user has his own password protected area where he can upload files each user can create user accounts and passwords for the ...
2
votes
1answer
240 views

Recommendations on how to validate an web server?

Does anyone know of any tools that can be run against web server to determine how compliant the server is with the various HTTP specs?
2
votes
2answers
75 views

Verifying that a user comes from a 'partner' site?

We're building a Drupal module that is going to be given to trusted 'corporate partners'. When a user clicks on a link, he should be redirected to our site as if he's a logged in user. How should I ...
2
votes
2answers
3k views

Mod Rewrite - directing HTTP/HTTPS traffic to the appropriate virtual hosts

I have an Apache2 web server (v. 2.2.16) running on Debian hosting three virtual hosts. The first two hosts are HTTP only (server1 and server2). The last host is HTTPS only (server3). My virtual host ...
3
votes
2answers
1k views

I used a 301 Permanent Redirect to a 3rd party site by mistake! Can I stop the redirection?

Oh Noes! I've been parking a domain name for a friend/client of mine on my hosting provider (Dreamhost, FWIW) for a while, and they eventually asked me to redirect their domain to a 3rd party website ...
5
votes
1answer
1k views

Redirect from SSL HTTPS to HTTP (NO SSL)

Many of my visitors have bookmarked my site already with https://mydomain.com. Under the bad advice of a programmer I have put my whole site (Joomla) using SSL. I do not sell anything or provide any ...
1
vote
2answers
3k views

How to forward a [sub]domain to another address? (not just HTTP!)

I have bought domain1.me from GoDaddy... (yeah, I know... but ME domain registrars seemed quite hard to find...) I'm mainly hosted at 1and1. I have registered subdomain sub1.domain1.me and redirected ...
1
vote
2answers
1k views

Lots of HTTP HEAD requests originating from porn sites

The access log on my web server has a ton of HTTP HEAD requests coming from porn sites. What are HEAD requests and are they doing something bad with my site? Here is an excerpt from my log: (valid ...
0
votes
4answers
1k views

Best way to have both HTTP and HTTPS communication in a web application?

I am considering using both HTTP and HTTPS in a web application and I am looking for tips to accomplish this best. The application will run under Tomcat. I have also seen the following about HTTPS ...
5
votes
5answers
1k views

WWW.yoursite.com or HTTP://yoursite.com which one is futureproof?

http://yoursite.com www.yoursite.com http://www.yoursite.com yoursite.com Which of these would you choose as your favourite to work with, if you were to make a site for 2011 and beyond, which ...
1
vote
1answer
68 views

With the following settings shown here, will there be any caching in Firefox?

browser.cache.disk.enable = false browser.cache.memory.enable = false network.http.use-cache = true With the following settings above, will there be any caching in FF? Does the disk.enable and ...
2
votes
3answers
940 views

Why is a # sign added to the end of URLS?

Note: I'm asking this from the perspective of the site developers (trying to help someone there). not as a user. Please don't forward this to superuser.com. It's a server admin question. Have a look ...