Content negotiating, Error: 406 Not Acceptable |
Content negotiating, Error: 406 Not Acceptable |
Dag |
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 |
Dag |
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. |
Lo-Fi Version | Time is now: 24th April 2024 - 04:12 AM |