Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to login to Superuser with OpenID, and it generates a request like this:

telnet 80
GET /professional HTTP/1.0

And my Apache server gives the error:

406 Not Acceptable: 
An appropriate representation of the requested resource /professional 
could not be found on this server. Available variants: 
professional.php, type  application/x-httpd-php

If a normal web browser hits the site, content negotiation correctly selects professional.php as the resource for this request. Is it possible to serve this same file to superuser?

share|improve this question

Did you try adding application/x-httpd-php to the accept portion of your request?

share|improve this answer
Yes, that fixes the problem. But I cannot control the client's ( request, I can only control my server's response. – Full Decent Sep 13 '10 at 22:21


AddType text/html php 

In my /etc/apache2/sites-enabled/*

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.