At 03:31 AM 7/25/2010, Simone Caruso wrote:

How do I make the ErrorDocument directive apply to my SSL site as well? I've tried inserting "ErrorDocument 403 /banned_ip.php" into ssl.conf at the top level, and into ssl.conf inside the <VirtualHost _default_:443></VirtualHost>
tags, but none of that worked.

-Bennett
(main conf):
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
Alias /403.html /var/www/403.html
Alias /404.html /var/www/404.html

Sorry, this didn't fix it. For http:// urls, I get the custom error page, but for https:// urls, I still get the default "403 forbidden" message instead of the custom error.

(In other words, his appears to have the same effect as the
ErrorDocument 403 /banned_ip.php
line that I had in httpd.conf before.)

-Bennett

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to