13, May 2008

No acceptable variant issue :: apache 2 - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ 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 360 times)
Community Supporter ?
OMG!I am geek
**
Gender: Male
Posts: 56
364 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/ Visit through proxy

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: 7824
39879 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
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Community Supporter ?
OMG!I am geek
**
Gender: Male
Posts: 56
364 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....

Topic sponsors:
Get a permanent link here for $1.99!


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?
May 13, 2008, 06:43:17 PM





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!


Forum Statistics
Total Posts: 34.931
Total Topics: 7.262
Total Members: 3.482
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: ondho

14 Guests, 3 Users online :

11 users online today:



Readers

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