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

1
vote
0answers
43 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
100 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
6k 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
195 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
448 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
250 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
1k 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
2k 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 ...
4
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
192 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
105 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
211 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
98 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
10k 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
103 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
2k 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
205 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
166 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
178 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
1k 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
90 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
100 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
11k 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", ...
18
votes
3answers
3k 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
106 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 ...
3
votes
3answers
7k 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
160 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
307 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
88 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
2k 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
2k 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
4k 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
2k 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
2k 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 ...
6
votes
5answers
2k 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
76 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
2k 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 ...
4
votes
2answers
190 views

HTTP response for deleted or disabled items on ecommerce store

What HTTP response should you send when an item/category on your ecommerce site has been disabled or deleted? 410 looks correct for deleted products but not sure about something that has been disabled ...
1
vote
2answers
176 views

why is having (or excluding) 'www' in the URL affecting how my site displays to users?

I am cleaning markup on a website for my first customer. I did not build the site; I want to remove the table-based design and replace it with proper CSS, before I add a shopping cart to the site. ...
7
votes
3answers
5k views

HTTPS best practices for SEO and usability

Consider a page, http://example.com, which can be viewed both publicly and when a user authenticates. Now suppose you enable HTTPS for every page when a user logs into your website, but only when they ...
5
votes
2answers
433 views

HTTP for one part of the site, HTTPS for other

We have a site which is HTTP, but it has an admin part. How can we secure the admin part with HTTPS? For example, WordPress (which I know) is located at http://foo.com, but we want to have ...
11
votes
2answers
2k views

Considerations of the HTTP Content-MD5 Header

We are debating whether to use the Content-MD5 header. Pros: The CMS allows us to easily include it with minimal overhead (cached responses in 80%+ of the cases). It would add another layer of ...
1
vote
1answer
175 views

Ways for client to include page ID in query?

I'm no expert on web development, and need to find a way to let the browser call a PHP routine on the server with the current document ID as parameter, eg. http://www.acme.com/index.php?id=1 I then ...
3
votes
2answers
201 views

What MIME type are you meant to use for JavaScript files?

In the html we always use <script type="text/javascript" charset="utf-8" src="???"></script> (the ECMA stuff confuses some browsers) but on the HTTP side what are you meant to use as the ...
5
votes
2answers
98 views

Browser privacy improvement implications for websites

On https://panopticlick.eff.org/ EFF let you test the number of uniquely identifying bits that the browser gives a website. Among these are HTTP header fields such as User-Agent, Accept, ...