The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Content negotiating, Error: 406 Not Acceptable
Dag
post Nov 23 2006, 03:55 PM
Post #1


Advanced Member
****

Group: Members
Posts: 107
Joined: 24-October 06
Member No.: 549



There are some script that validate web-pages. Used by few top Russian search web-sites. There, page 'index' is not acceptable (406) but page index.html is ok. Why so? Is it correct? How about content negotiating?

Samples:
error 406 -- http://www.be1.ru/stat/?url=http://www.orw...u/library/index
good one -- http://www.be1.ru/stat/?url=http://www.orw...rary/index.html

Basic question: is this script good or not? If yes, what should I do with this 406?


Thank in advance,

Dag
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Dag
post Nov 24 2006, 11:25 AM
Post #2


Advanced Member
****

Group: Members
Posts: 107
Joined: 24-October 06
Member No.: 549



Thank you Liam. Yes, I have that in htaccess. Actually:

DirectoryIndex index
RemoveHandler .html
AddType application/x-httpd-php .html

How I can write both? Means

AddHandler php5-script .html
AND
AddHandler php-script .html

Because ISP supports both at the current moment and some of my scripts are 4 but some fromr PHP5.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 01:06 AM