Custom ErrorDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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 / https://10.173.100.117:8443/
ProxyHTMLURLMap https://10.173.100.117:8443 /
<Location />
ProxyPassReverse https://10.173.100.117:8443/
ProxyHTMLEnable On
ProxyHTMLURLMap / /
RequestHeader unset Accept-Encoding
</Location>
..SSL Directive..
</VirtualHost>
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
</Directory>
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 //10.173.100.117:8443/prova.html
ictservices_ssl_error_log:[Thu Jul 15 20:58:46 2010] [debug] proxy_util.c(1488): [client 10.173.202.139] proxy: https: found worker https://10.173.100.117:8443/ for https://10.173.100.117:8443/prova.html
ictservices_ssl_error_log:[Thu Jul 15 20:58:46 2010] [debug] mod_proxy_http.c(1960): proxy: HTTP: serving URL https://10.173.100.117:8443/prova.html
I want that if the backend application is down (https://10.173.100.117:8443/) the proxy send to client the local file /var/www/error/test.html
many thanks for any sugget.
Cheers,
Mauri
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]