httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauri <>
Subject [users@httpd] Custom ErrorDocument
Date Thu, 15 Jul 2010 18:48:47 GMT
Hi expert,
where I can insert the ErrorDocument directive in my ssl.conf virtualhost ?
this is my virtualhost directive

NameVirtualHost myserver:443
<VirtualHost myserver:443>
ServerName myserver
ProxyRequests off
ProxyPass /
<Location />
        ProxyHTMLEnable On
        ProxyHTMLURLMap  /      /
        RequestHeader    unset  Accept-Encoding
..SSL Directive..

if I insert this directive:

DocumentRoot /var/www/error
        <Directory /var/www/error/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
ErrorDocument 503 /test.html

this is the entry in my apache log (wrong):
ictservices_ssl_error_log:[Thu Jul 15 20:58:46 2010] [debug]
mod_proxy_http.c(56): proxy: HTTP: canonicalising URL //
ictservices_ssl_error_log:[Thu Jul 15 20:58:46 2010] [debug]
proxy_util.c(1488): [client] proxy: https: found worker for
ictservices_ssl_error_log:[Thu Jul 15 20:58:46 2010] [debug]
mod_proxy_http.c(1960): proxy: HTTP: serving URL

I want that if the backend application is down (
the proxy send to client the local file /var/www/error/test.html

many thanks for any sugget.


View raw message