You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "info@gg-soft.de" <in...@gg-soft.de> on 2011/04/13 10:10:21 UTC
[users@httpd] ErrorDocument inside block
Hello,
I need to define some special ErrorDocument inside a <Location> block.
To verify if it is possible, I checked the documentation for Apache 2.2 for ErrorDocument and it says:
Context: server config, virtual host, directory, .htaccess
Obviously Location seems not to be supported. However, I tried it, and it works! I am using Apache 2.2.3.
I use a <Location> inside a <VirtualHost> block.
Could someone please tell me if this is a documentation mistake, or if it should actually really not work?
Thanks in advance,
Matthias
Re: [users@httpd] ErrorDocument inside block
Posted by "info@gg-soft.de" <in...@gg-soft.de>.
That explains it perfectly. Thank you for clarification!
Nick Kew <ni...@webthing.com> hat am 13. April 2011 um 10:38 geschrieben:
>
> On 13 Apr 2011, at 09:10, info@gg-soft.de wrote:
>
> > Context: server config, virtual host, directory, .htaccess
>
> The key is "context". Location, Directory and Files are all one context
> (and .htaccess is just an optional extension of that context).
>
> Possibly "directory" is a confusing choice of word here.
>
> --
> Nick Kew
>
> Available for work, contract or permanent
> http://www.webthing.com/~nick/cv.html
>
>
> ---------------------------------------------------------------------
> 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] ErrorDocument inside block
Posted by Nick Kew <ni...@webthing.com>.
On 13 Apr 2011, at 09:10, info@gg-soft.de wrote:
> Context: server config, virtual host, directory, .htaccess
The key is "context". Location, Directory and Files are all one context
(and .htaccess is just an optional extension of that context).
Possibly "directory" is a confusing choice of word here.
--
Nick Kew
Available for work, contract or permanent
http://www.webthing.com/~nick/cv.html
---------------------------------------------------------------------
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