You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Richard de Vries <ri...@yahoo.com> on 2006/12/21 00:38:46 UTC

[users@httpd] mod_rewrite and HTTP headers. (Accept-Language)

I am an absolute newbie when it comes to mod_rewrite
and I am still going thru some documentation to see
whether I can make it do what I need.

While I am going thru the docs and examples, I figured
to post a message on this list as well, just in case
someone knows the answer right from the top of their
head.

I am running Apache in front of servletexec (an
application server) and we're having some application
issues with certain locales.

I would like to use mod_rewrite to analyze the
Accept-Language header, and rewrite it if needed. Can
mod_rewrite do this? Does anyone have an example?

  R

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_rewrite and HTTP headers. (Accept-Language)

Posted by Joshua Slive <jo...@slive.ca>.
On 12/20/06, Richard de Vries <ri...@yahoo.com> wrote:
> I am an absolute newbie when it comes to mod_rewrite
> and I am still going thru some documentation to see
> whether I can make it do what I need.
>
> While I am going thru the docs and examples, I figured
> to post a message on this list as well, just in case
> someone knows the answer right from the top of their
> head.
>
> I am running Apache in front of servletexec (an
> application server) and we're having some application
> issues with certain locales.
>
> I would like to use mod_rewrite to analyze the
> Accept-Language header, and rewrite it if needed. Can
> mod_rewrite do this? Does anyone have an example?

There are a few hundred examples (good and bad, of course) here:
http://www.google.com/search?q=RewriteCond+Accept-Language

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org