httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bennett Haselton <benn...@peacefire.org>
Subject Re: [users@httpd] how to make ErrorDocument apply to https:// site as well?
Date Sun, 25 Jul 2010 22:31:58 GMT
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-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