Using Apache’s MultiViews

Enabling content negotiation on an Apache web server using MultiViews.

Add the following to your .htaccess to enable MultiViews. This example adds American English and Honduran Spanish, giving priority to English.

Options MultiViews
AddLanguage en-US .en
AddLanguage es-HN .es
LanguagePriority en es
Advertisements

About Warren Post

So far: Customer support guy, jungle guide, IT consultant, beach bum, entrepreneur, teacher, diplomat, over-enthusiastic cyclist. Tomorrow: who knows?
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s