16, March 2010

No acceptable variant issue :: apache 2 - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: No acceptable variant issue :: apache 2
« previous next »
Pages: [1] Print

Author Topic: No acceptable variant issue :: apache 2  (Read 1409 times)
Community Supporter ?
Hunky Junky Monky Man!
**
Gender: Male
Posts: 68
436 credits
Members referred : 0


Schwa?


« on: Jan 14, 2008, 04:27:47 am »

So, in our error logs, we keep getting this error from time to time. (of course I edited it Wink)
[Wed Jan 02 10:07:05 2008] [error] [client xx.xx.xx.xx] no acceptable
variant: /usr/local/apachewi/htdocs/LIVE/IA/www/css/compress, referer:
http://www.websiteia.com/

We do need to keep on multiviews for some legacy support (I hate the idea... but their budget isn't my budget... so you do what you have to do). 

At any rate, so I did some research on this and it looks like its an issue when a config has multiviews on, and the user agent sends a language that is not in the language list.  However, we should have a fall back situation which we can force a language back on them... like 'en'.

At any rate, here is an excerpt from our config on this server:

#
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
#
# Just list the languages in decreasing order of preference. We have
# more or less alphabetized them here. You probably want to change this.
#
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn
no pl pt pt-BR ru sv zh-CN zh-TW

#
# ForceLanguagePriority allows you to serve a result page rather than
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE
(Fallback)
# [in case no accepted languages matched the available variants]
#
ForceLanguagePriority Prefer Fallback


Now, I think the issue is that we're using both Prefer and Fallback - we should only be using one... right?  But I can't seem to get this definitively in any document (it doesn't say that you can't explicitly have both...) 

I don't have access to or permission to modify this server - so I have to prove my solution to the admins anyways...

So any concrete pointers?  (Anyone who points me to the apache manual entry for forcelanguagepriority without saying anything intelligent will just garner my wishes of voodoo dolls Wink hahah)
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5659
45587 credits
Members referred : 3



« Reply #1 on: Jan 15, 2008, 07:54:18 am »

What version of Apache you are using?

I use 2.0.59 with the same configuration and have no problems....

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Community Supporter ?
Hunky Junky Monky Man!
**
Gender: Male
Posts: 68
436 credits
Members referred : 0


Schwa?


« Reply #2 on: Jan 21, 2008, 04:21:46 am »

2.0.58
Can you make a request with a language thats not in your list of languages and not get that message?  How did you verify that it works correctly?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7522
Tags : apache no acceptable variant Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: No acceptable variant issue :: apache 2
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Mar 16, 2010, 02:03:31 am





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!





Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2010 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.