I created a custom error page which redirects user to a home page if they
typed in the wrong address(404 error). It works ok with HTTP protocol, but
fails to work with HTTPS.
For example if you type http://www.somesite.com/fake.htm you get redirected
to home page. If you type https://www.somesite.com/fake.htm , the 404 error
page is displayed.

Can someone explain to me why custom error page works for HTTP and doesn't
work for HTTPS? And is there a solution?

Re: 404 error and HTTPS by Bernard

Bernard
Mon Aug 28 00:53:36 CDT 2006

How do you configure the custom error redirection?
I setup it to redirect to a test page at root. it works for both http and
https

Type is URL
url = /test.html


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
>I created a custom error page which redirects user to a home page if they
> typed in the wrong address(404 error). It works ok with HTTP protocol, but
> fails to work with HTTPS.
> For example if you type http://www.somesite.com/fake.htm you get
> redirected
> to home page. If you type https://www.somesite.com/fake.htm , the 404
> error
> page is displayed.
>
> Can someone explain to me why custom error page works for HTTP and doesn't
> work for HTTPS? And is there a solution?



Re: 404 error and HTTPS by AlexBroide

AlexBroide
Mon Aug 28 02:23:01 CDT 2006

Hi Bernard

Thanks for having a look.

I can not set the redirection to a URL using the control panel of our
hosting provider, so i created a simple file which redirects user using
window.navigate
Don't know if it's relevant, but one thing i forgot to mention is that
website does have a certificate, so HTTPS is enabled.

Alex

"Bernard Cheah [MVP]" wrote:

> How do you configure the custom error redirection?
> I setup it to redirect to a test page at root. it works for both http and
> https
>
> Type is URL
> url = /test.html
>
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
> >I created a custom error page which redirects user to a home page if they
> > typed in the wrong address(404 error). It works ok with HTTP protocol, but
> > fails to work with HTTPS.
> > For example if you type http://www.somesite.com/fake.htm you get
> > redirected
> > to home page. If you type https://www.somesite.com/fake.htm , the 404
> > error
> > page is displayed.
> >
> > Can someone explain to me why custom error page works for HTTP and doesn't
> > work for HTTPS? And is there a solution?
>
>
>

Re: 404 error and HTTPS by Bernard

Bernard
Mon Aug 28 02:33:55 CDT 2006

No idea. but does normal https work ?
post the simple redirect code here. I try to test it on my xp.


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
news:5A6E6B60-0929-4B7F-BBFA-B592FE3069B6@microsoft.com...
> Hi Bernard
>
> Thanks for having a look.
>
> I can not set the redirection to a URL using the control panel of our
> hosting provider, so i created a simple file which redirects user using
> window.navigate
> Don't know if it's relevant, but one thing i forgot to mention is that
> website does have a certificate, so HTTPS is enabled.
>
> Alex
>
> "Bernard Cheah [MVP]" wrote:
>
>> How do you configure the custom error redirection?
>> I setup it to redirect to a test page at root. it works for both http and
>> https
>>
>> Type is URL
>> url = /test.html
>>
>>
>> --
>> Regards,
>> Bernard Cheah
>> http://www.iis.net/
>> http://www.iis-resources.com/
>> http://msmvps.com/blogs/bernard/
>>
>>
>> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
>> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
>> >I created a custom error page which redirects user to a home page if
>> >they
>> > typed in the wrong address(404 error). It works ok with HTTP protocol,
>> > but
>> > fails to work with HTTPS.
>> > For example if you type http://www.somesite.com/fake.htm you get
>> > redirected
>> > to home page. If you type https://www.somesite.com/fake.htm , the 404
>> > error
>> > page is displayed.
>> >
>> > Can someone explain to me why custom error page works for HTTP and
>> > doesn't
>> > work for HTTPS? And is there a solution?
>>
>>
>>



Re: 404 error and HTTPS by AlexBroide

AlexBroide
Mon Aug 28 02:47:01 CDT 2006

Yes, it works ok.

You can see it here 'https://www.air-aroma.com

The redirect code is
<script language="javascript">

window.navigate('https://www.air-aroma.com/default.aspx');

</script>


"Bernard Cheah [MVP]" wrote:

> No idea. but does normal https work ?
> post the simple redirect code here. I try to test it on my xp.
>
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> news:5A6E6B60-0929-4B7F-BBFA-B592FE3069B6@microsoft.com...
> > Hi Bernard
> >
> > Thanks for having a look.
> >
> > I can not set the redirection to a URL using the control panel of our
> > hosting provider, so i created a simple file which redirects user using
> > window.navigate
> > Don't know if it's relevant, but one thing i forgot to mention is that
> > website does have a certificate, so HTTPS is enabled.
> >
> > Alex
> >
> > "Bernard Cheah [MVP]" wrote:
> >
> >> How do you configure the custom error redirection?
> >> I setup it to redirect to a test page at root. it works for both http and
> >> https
> >>
> >> Type is URL
> >> url = /test.html
> >>
> >>
> >> --
> >> Regards,
> >> Bernard Cheah
> >> http://www.iis.net/
> >> http://www.iis-resources.com/
> >> http://msmvps.com/blogs/bernard/
> >>
> >>
> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> >> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
> >> >I created a custom error page which redirects user to a home page if
> >> >they
> >> > typed in the wrong address(404 error). It works ok with HTTP protocol,
> >> > but
> >> > fails to work with HTTPS.
> >> > For example if you type http://www.somesite.com/fake.htm you get
> >> > redirected
> >> > to home page. If you type https://www.somesite.com/fake.htm , the 404
> >> > error
> >> > page is displayed.
> >> >
> >> > Can someone explain to me why custom error page works for HTTP and
> >> > doesn't
> >> > work for HTTPS? And is there a solution?
> >>
> >>
> >>
>
>
>

Re: 404 error and HTTPS by Bernard

Bernard
Mon Aug 28 22:41:14 CDT 2006

Problem fixed? I test browse your site and it is redirecting correctly.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
news:65EEC5DE-8995-4796-A361-E0B87FDFE83C@microsoft.com...
> Yes, it works ok.
>
> You can see it here 'https://www.air-aroma.com
>
> The redirect code is
> <script language="javascript">
>
> window.navigate('https://www.air-aroma.com/default.aspx');
>
> </script>
>
>
> "Bernard Cheah [MVP]" wrote:
>
>> No idea. but does normal https work ?
>> post the simple redirect code here. I try to test it on my xp.
>>
>>
>> --
>> Regards,
>> Bernard Cheah
>> http://www.iis.net/
>> http://www.iis-resources.com/
>> http://msmvps.com/blogs/bernard/
>>
>>
>> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
>> news:5A6E6B60-0929-4B7F-BBFA-B592FE3069B6@microsoft.com...
>> > Hi Bernard
>> >
>> > Thanks for having a look.
>> >
>> > I can not set the redirection to a URL using the control panel of our
>> > hosting provider, so i created a simple file which redirects user using
>> > window.navigate
>> > Don't know if it's relevant, but one thing i forgot to mention is that
>> > website does have a certificate, so HTTPS is enabled.
>> >
>> > Alex
>> >
>> > "Bernard Cheah [MVP]" wrote:
>> >
>> >> How do you configure the custom error redirection?
>> >> I setup it to redirect to a test page at root. it works for both http
>> >> and
>> >> https
>> >>
>> >> Type is URL
>> >> url = /test.html
>> >>
>> >>
>> >> --
>> >> Regards,
>> >> Bernard Cheah
>> >> http://www.iis.net/
>> >> http://www.iis-resources.com/
>> >> http://msmvps.com/blogs/bernard/
>> >>
>> >>
>> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
>> >> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
>> >> >I created a custom error page which redirects user to a home page if
>> >> >they
>> >> > typed in the wrong address(404 error). It works ok with HTTP
>> >> > protocol,
>> >> > but
>> >> > fails to work with HTTPS.
>> >> > For example if you type http://www.somesite.com/fake.htm you get
>> >> > redirected
>> >> > to home page. If you type https://www.somesite.com/fake.htm , the
>> >> > 404
>> >> > error
>> >> > page is displayed.
>> >> >
>> >> > Can someone explain to me why custom error page works for HTTP and
>> >> > doesn't
>> >> > work for HTTPS? And is there a solution?
>> >>
>> >>
>> >>
>>
>>
>>



Re: 404 error and HTTPS by AlexBroide

AlexBroide
Tue Aug 29 00:18:01 CDT 2006

I have set custom error handling to web.config so it works for aspx files,
but it doesn't work for htm.

https://www.air-aroma.com/fake.aspx - OK

https://www.air-aroma.com/fake.htm - NOT OK

"Bernard Cheah [MVP]" wrote:

> Problem fixed? I test browse your site and it is redirecting correctly.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> news:65EEC5DE-8995-4796-A361-E0B87FDFE83C@microsoft.com...
> > Yes, it works ok.
> >
> > You can see it here 'https://www.air-aroma.com
> >
> > The redirect code is
> > <script language="javascript">
> >
> > window.navigate('https://www.air-aroma.com/default.aspx');
> >
> > </script>
> >
> >
> > "Bernard Cheah [MVP]" wrote:
> >
> >> No idea. but does normal https work ?
> >> post the simple redirect code here. I try to test it on my xp.
> >>
> >>
> >> --
> >> Regards,
> >> Bernard Cheah
> >> http://www.iis.net/
> >> http://www.iis-resources.com/
> >> http://msmvps.com/blogs/bernard/
> >>
> >>
> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> >> news:5A6E6B60-0929-4B7F-BBFA-B592FE3069B6@microsoft.com...
> >> > Hi Bernard
> >> >
> >> > Thanks for having a look.
> >> >
> >> > I can not set the redirection to a URL using the control panel of our
> >> > hosting provider, so i created a simple file which redirects user using
> >> > window.navigate
> >> > Don't know if it's relevant, but one thing i forgot to mention is that
> >> > website does have a certificate, so HTTPS is enabled.
> >> >
> >> > Alex
> >> >
> >> > "Bernard Cheah [MVP]" wrote:
> >> >
> >> >> How do you configure the custom error redirection?
> >> >> I setup it to redirect to a test page at root. it works for both http
> >> >> and
> >> >> https
> >> >>
> >> >> Type is URL
> >> >> url = /test.html
> >> >>
> >> >>
> >> >> --
> >> >> Regards,
> >> >> Bernard Cheah
> >> >> http://www.iis.net/
> >> >> http://www.iis-resources.com/
> >> >> http://msmvps.com/blogs/bernard/
> >> >>
> >> >>
> >> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> >> >> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
> >> >> >I created a custom error page which redirects user to a home page if
> >> >> >they
> >> >> > typed in the wrong address(404 error). It works ok with HTTP
> >> >> > protocol,
> >> >> > but
> >> >> > fails to work with HTTPS.
> >> >> > For example if you type http://www.somesite.com/fake.htm you get
> >> >> > redirected
> >> >> > to home page. If you type https://www.somesite.com/fake.htm , the
> >> >> > 404
> >> >> > error
> >> >> > page is displayed.
> >> >> >
> >> >> > Can someone explain to me why custom error page works for HTTP and
> >> >> > doesn't
> >> >> > work for HTTPS? And is there a solution?
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>

Re: 404 error and HTTPS by Bernard

Bernard
Tue Aug 29 05:43:48 CDT 2006

I have no problem with any file ext or etc.
I get redirected to the default.aspx

check you log file...

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
news:7AAEFE55-13DD-4B99-B324-65872CC3A708@microsoft.com...
>I have set custom error handling to web.config so it works for aspx files,
> but it doesn't work for htm.
>
> https://www.air-aroma.com/fake.aspx - OK
>
> https://www.air-aroma.com/fake.htm - NOT OK
>
> "Bernard Cheah [MVP]" wrote:
>
>> Problem fixed? I test browse your site and it is redirecting correctly.
>>
>> --
>> Regards,
>> Bernard Cheah
>> http://www.iis.net/
>> http://www.iis-resources.com/
>> http://msmvps.com/blogs/bernard/
>>
>>
>> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
>> news:65EEC5DE-8995-4796-A361-E0B87FDFE83C@microsoft.com...
>> > Yes, it works ok.
>> >
>> > You can see it here 'https://www.air-aroma.com
>> >
>> > The redirect code is
>> > <script language="javascript">
>> >
>> > window.navigate('https://www.air-aroma.com/default.aspx');
>> >
>> > </script>
>> >
>> >
>> > "Bernard Cheah [MVP]" wrote:
>> >
>> >> No idea. but does normal https work ?
>> >> post the simple redirect code here. I try to test it on my xp.
>> >>
>> >>
>> >> --
>> >> Regards,
>> >> Bernard Cheah
>> >> http://www.iis.net/
>> >> http://www.iis-resources.com/
>> >> http://msmvps.com/blogs/bernard/
>> >>
>> >>
>> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
>> >> news:5A6E6B60-0929-4B7F-BBFA-B592FE3069B6@microsoft.com...
>> >> > Hi Bernard
>> >> >
>> >> > Thanks for having a look.
>> >> >
>> >> > I can not set the redirection to a URL using the control panel of
>> >> > our
>> >> > hosting provider, so i created a simple file which redirects user
>> >> > using
>> >> > window.navigate
>> >> > Don't know if it's relevant, but one thing i forgot to mention is
>> >> > that
>> >> > website does have a certificate, so HTTPS is enabled.
>> >> >
>> >> > Alex
>> >> >
>> >> > "Bernard Cheah [MVP]" wrote:
>> >> >
>> >> >> How do you configure the custom error redirection?
>> >> >> I setup it to redirect to a test page at root. it works for both
>> >> >> http
>> >> >> and
>> >> >> https
>> >> >>
>> >> >> Type is URL
>> >> >> url = /test.html
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Regards,
>> >> >> Bernard Cheah
>> >> >> http://www.iis.net/
>> >> >> http://www.iis-resources.com/
>> >> >> http://msmvps.com/blogs/bernard/
>> >> >>
>> >> >>
>> >> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
>> >> >> >I created a custom error page which redirects user to a home page
>> >> >> >if
>> >> >> >they
>> >> >> > typed in the wrong address(404 error). It works ok with HTTP
>> >> >> > protocol,
>> >> >> > but
>> >> >> > fails to work with HTTPS.
>> >> >> > For example if you type http://www.somesite.com/fake.htm you get
>> >> >> > redirected
>> >> >> > to home page. If you type https://www.somesite.com/fake.htm , the
>> >> >> > 404
>> >> >> > error
>> >> >> > page is displayed.
>> >> >> >
>> >> >> > Can someone explain to me why custom error page works for HTTP
>> >> >> > and
>> >> >> > doesn't
>> >> >> > work for HTTPS? And is there a solution?
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>



Re: 404 error and HTTPS by Sergej

Sergej
Wed Aug 30 08:28:50 CDT 2006

I was experiencing the very same problem with our site at
www.waynesavings.com. We are forcing the entire site into https via a
custom 403.4 error. If you request a non-existing page on http, you get
redirected to the secure home page (which is also true for ANY http
page you request which is not the home page). The custom 404 gets
called alright for https, but not for http.

The only explanation I have is that the 403 kicks in before the 404
does, but I am not sure how to change that.


Alex Broide wrote:
> I have set custom error handling to web.config so it works for aspx files,
> but it doesn't work for htm.
>
> https://www.air-aroma.com/fake.aspx - OK
>
> https://www.air-aroma.com/fake.htm - NOT OK
>
> "Bernard Cheah [MVP]" wrote:
>
> > Problem fixed? I test browse your site and it is redirecting correctly.
> >
> > --
> > Regards,
> > Bernard Cheah
> > http://www.iis.net/
> > http://www.iis-resources.com/
> > http://msmvps.com/blogs/bernard/
> >
> >
> > "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> > news:65EEC5DE-8995-4796-A361-E0B87FDFE83C@microsoft.com...
> > > Yes, it works ok.
> > >
> > > You can see it here 'https://www.air-aroma.com
> > >
> > > The redirect code is
> > > <script language="javascript">
> > >
> > > window.navigate('https://www.air-aroma.com/default.aspx');
> > >
> > > </script>
> > >
> > >
> > > "Bernard Cheah [MVP]" wrote:
> > >
> > >> No idea. but does normal https work ?
> > >> post the simple redirect code here. I try to test it on my xp.
> > >>
> > >>
> > >> --
> > >> Regards,
> > >> Bernard Cheah
> > >> http://www.iis.net/
> > >> http://www.iis-resources.com/
> > >> http://msmvps.com/blogs/bernard/
> > >>
> > >>
> > >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> > >> news:5A6E6B60-0929-4B7F-BBFA-B592FE3069B6@microsoft.com...
> > >> > Hi Bernard
> > >> >
> > >> > Thanks for having a look.
> > >> >
> > >> > I can not set the redirection to a URL using the control panel of our
> > >> > hosting provider, so i created a simple file which redirects user using
> > >> > window.navigate
> > >> > Don't know if it's relevant, but one thing i forgot to mention is that
> > >> > website does have a certificate, so HTTPS is enabled.
> > >> >
> > >> > Alex
> > >> >
> > >> > "Bernard Cheah [MVP]" wrote:
> > >> >
> > >> >> How do you configure the custom error redirection?
> > >> >> I setup it to redirect to a test page at root. it works for both http
> > >> >> and
> > >> >> https
> > >> >>
> > >> >> Type is URL
> > >> >> url = /test.html
> > >> >>
> > >> >>
> > >> >> --
> > >> >> Regards,
> > >> >> Bernard Cheah
> > >> >> http://www.iis.net/
> > >> >> http://www.iis-resources.com/
> > >> >> http://msmvps.com/blogs/bernard/
> > >> >>
> > >> >>
> > >> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> > >> >> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
> > >> >> >I created a custom error page which redirects user to a home page if
> > >> >> >they
> > >> >> > typed in the wrong address(404 error). It works ok with HTTP
> > >> >> > protocol,
> > >> >> > but
> > >> >> > fails to work with HTTPS.
> > >> >> > For example if you type http://www.somesite.com/fake.htm you get
> > >> >> > redirected
> > >> >> > to home page. If you type https://www.somesite.com/fake.htm , the
> > >> >> > 404
> > >> >> > error
> > >> >> > page is displayed.
> > >> >> >
> > >> >> > Can someone explain to me why custom error page works for HTTP and
> > >> >> > doesn't
> > >> >> > work for HTTPS? And is there a solution?
> > >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> > >>
> >
> >
> >


Re: 404 error and HTTPS by AlexBroide

AlexBroide
Thu Aug 31 22:33:01 CDT 2006

Hi Bernard,

I have tested it on my XP with IIS5 and it worked OK as well.
The website is actually hosted on IIS6.

Did you try on IIS5 or 6?

I will try to get some answers from the hosting provider, but they are a bit
slow to reply.

Thanks
Alex


"Bernard Cheah [MVP]" wrote:

> I have no problem with any file ext or etc.
> I get redirected to the default.aspx
>
> check you log file...
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> news:7AAEFE55-13DD-4B99-B324-65872CC3A708@microsoft.com...
> >I have set custom error handling to web.config so it works for aspx files,
> > but it doesn't work for htm.
> >
> > https://www.air-aroma.com/fake.aspx - OK
> >
> > https://www.air-aroma.com/fake.htm - NOT OK
> >
> > "Bernard Cheah [MVP]" wrote:
> >
> >> Problem fixed? I test browse your site and it is redirecting correctly.
> >>
> >> --
> >> Regards,
> >> Bernard Cheah
> >> http://www.iis.net/
> >> http://www.iis-resources.com/
> >> http://msmvps.com/blogs/bernard/
> >>
> >>
> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> >> news:65EEC5DE-8995-4796-A361-E0B87FDFE83C@microsoft.com...
> >> > Yes, it works ok.
> >> >
> >> > You can see it here 'https://www.air-aroma.com
> >> >
> >> > The redirect code is
> >> > <script language="javascript">
> >> >
> >> > window.navigate('https://www.air-aroma.com/default.aspx');
> >> >
> >> > </script>
> >> >
> >> >
> >> > "Bernard Cheah [MVP]" wrote:
> >> >
> >> >> No idea. but does normal https work ?
> >> >> post the simple redirect code here. I try to test it on my xp.
> >> >>
> >> >>
> >> >> --
> >> >> Regards,
> >> >> Bernard Cheah
> >> >> http://www.iis.net/
> >> >> http://www.iis-resources.com/
> >> >> http://msmvps.com/blogs/bernard/
> >> >>
> >> >>
> >> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in message
> >> >> news:5A6E6B60-0929-4B7F-BBFA-B592FE3069B6@microsoft.com...
> >> >> > Hi Bernard
> >> >> >
> >> >> > Thanks for having a look.
> >> >> >
> >> >> > I can not set the redirection to a URL using the control panel of
> >> >> > our
> >> >> > hosting provider, so i created a simple file which redirects user
> >> >> > using
> >> >> > window.navigate
> >> >> > Don't know if it's relevant, but one thing i forgot to mention is
> >> >> > that
> >> >> > website does have a certificate, so HTTPS is enabled.
> >> >> >
> >> >> > Alex
> >> >> >
> >> >> > "Bernard Cheah [MVP]" wrote:
> >> >> >
> >> >> >> How do you configure the custom error redirection?
> >> >> >> I setup it to redirect to a test page at root. it works for both
> >> >> >> http
> >> >> >> and
> >> >> >> https
> >> >> >>
> >> >> >> Type is URL
> >> >> >> url = /test.html
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Regards,
> >> >> >> Bernard Cheah
> >> >> >> http://www.iis.net/
> >> >> >> http://www.iis-resources.com/
> >> >> >> http://msmvps.com/blogs/bernard/
> >> >> >>
> >> >> >>
> >> >> >> "Alex Broide" <AlexBroide@discussions.microsoft.com> wrote in
> >> >> >> message
> >> >> >> news:9E81AD70-A152-41C1-8D11-B895C932DF9C@microsoft.com...
> >> >> >> >I created a custom error page which redirects user to a home page
> >> >> >> >if
> >> >> >> >they
> >> >> >> > typed in the wrong address(404 error). It works ok with HTTP
> >> >> >> > protocol,
> >> >> >> > but
> >> >> >> > fails to work with HTTPS.
> >> >> >> > For example if you type http://www.somesite.com/fake.htm you get
> >> >> >> > redirected
> >> >> >> > to home page. If you type https://www.somesite.com/fake.htm , the
> >> >> >> > 404
> >> >> >> > error
> >> >> >> > page is displayed.
> >> >> >> >
> >> >> >> > Can someone explain to me why custom error page works for HTTP
> >> >> >> > and
> >> >> >> > doesn't
> >> >> >> > work for HTTPS? And is there a solution?
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>