Page group not redirecting to first page
We have SF5.3 running in our development environments, Win 7 with IIS 7.5, and we're having this problem:
Example of a real Sitefinity page: /myPageGroup/home.aspx
This is driving me mad.. it works fine when I run a new SF53 site from the project manager, but when I run the "real" site from IIS, this happens.
Thanks in advance!
Michael Snyder
ConnectionsAcademy.com
Hi,
Can you try with the following snippet in you web.config under the marked line:
<
urlCompression
doDynamicCompression
=
"true"
doStaticCompression
=
"true"
dynamicCompressionBeforeCache
=
"false"
/>
<!--<
httpErrors
errorMode
=
"Custom"
defaultResponseMode
=
"Redirect"
>
<
remove
statusCode
=
"404"
subStatusCode
=
"-1"
/>
<
error
statusCode
=
"404"
subStatusCode
=
"-1"
path
=
"YouCustomErrorPage"
responseMode
=
"ExecuteURL"
/>
Thank for the reply Pavel -- unfortunately, this didn't do anything. This is an IIS level error; these 404s aren't going through asp.net (see point 4 in my original post).
Hello,
The httpErrors section is how IIS will handle the errors. It is basically the same as to open IIS and go to your project's IIS ErrorPages and assign them from there - see image. For more information please refer to the following article.
If you are still experiencing troubles could you please share how your error pages are configured in web.config and IIS?
Thanks for the extra detail, Pavel. This did the trick.