Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ssl + redirect

0 views
Skip to first unread message

cappa

unread,
Nov 19, 2009, 7:03:55 AM11/19/09
to
Hi,
i'm trying to use SSL on apache, so i'm playing using client
certification, i would ask you if it's possible to have a redirect to
an error-disclaimer page if the user has not (import) the certificate
on his browser.

e.g.:
if i try to see https://www.websites.com
and i don't have the certificate i've to redirect to HTTP://www.websites.it/error.html

Thanks for any aid.

Marco

Message has been deleted

cappa

unread,
Nov 19, 2009, 2:47:34 PM11/19/09
to

>
> Can't you use an ErrorDocument 401 for that?
>
> Davide
>
> --
> Why should I care about posterity? What's posterity ever done for me?
> -- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)

Hi Davide,
i've trying with all errordocumen error code i know (and all that i've
found on internet)

ErrorDocument 400 /error/HTTP_BAD_REQUEST.html
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html
ErrorDocument 403 /error/HTTP_FORBIDDEN.html
ErrorDocument 404 /error/HTTP_NOT_FOUND.html
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html
ErrorDocument 410 /error/HTTP_GONE.html
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html

but it doesn't work

i put tle line above before tha tag </virtuahost>

Marco

0 new messages