httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] ErrorDocument Question
Date Fri, 16 Jun 2006 20:58:11 GMT
On 6/16/06, Fenlason, Josh <jfenlason@ptc.com> wrote:
>
>
> Is there anyway to configure ErrorDocument to work with a path that for the
> user's locale?  I want to do something like the following:
> ErrorDocument 401
> /path/to/file/<locale>/rest/of/path/to/errorPage.html
> Is there a way to accomplish this with ErrorDocument?  Is there a way to do
> it with any other modules or config directives?  Thanks.

What do you mean by locale?  Do you mean something from the
Accept-Language HTTP header?  If so, you want content-negotiation.
There is an extensive and usable example of content-negotiated error
docs in the config of every recent version of apache httpd (2.x).

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


Mime
View raw message