MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

MONOX doesn;t seem to have a 404 page.  (Mono Support )

42715 put(a) pogledan, 7 odgovor(a) 29.1.2014. 9:09:28Kreirao(la) sonap
sonap

sonap

29.1.2014. 9:09:28
Hello,

I' ve noticed that MonoX doen't redirect to a 404 page when link doesn;t exist, as seen here http://monox.mono-software.com/jskdfj

Could you tell me how it can be implemented the right way in MonoX?
Ovaj sadržaj još nije ocijenjen. 
475 Reputacija 52 Ukupno objava
Zoomicon

Zoomicon

29.1.2014. 9:15:26
even stranger is that on Mozilla and Chrome it doesn't show the default browser page for 404 http error, but in IE11 it does show the page not found message of the web browser
Ovaj sadržaj još nije ocijenjen. 
2793 Reputacija 345 Ukupno objava
khorvat

khorvat

29.1.2014. 9:41:18
We will check the issue and get back to you.

Thanks
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
khorvat

khorvat

29.1.2014. 12:52:40
We have fixed this issue, fix will be pushed with the new release (few days).

Thanks
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
emrah-asl

emrah_asl

20.10.2015. 11:42:30
khorvat, hello,
 

Can you share solution for us ? We have sam problem on our site; if  you type www.mydomain.com/something
 

 if (something is not meaning or not match any url ,  Can we redirect it homepage ? Default.aspx )
Ovaj sadržaj još nije ocijenjen. 
1429 Reputacija 151 Ukupno objava
Zoomicon

Zoomicon

20.10.2015. 17:09:00
at http://social.clipflair.net we had fixed that (e.g. try http://social.clipflair.net/somepage)

judging from the version control at http://clipflair.codeplex.com, I think you need the following at web.config (search for the respective sections)

    <!-- indicates if error page should show detailed error message output for non administrator users -->
    <add key="ShowDetailedErrorsForNonAdmin" value="False" />

and also make sure you have this

    <!--<httpErrors existingResponse="PassThrough" />-->
    <httpErrors errorMode="Custom" existingResponse="Replace">
        <remove statusCode="404" subStatusCode="-1" />
        <error statusCode="404" path="/ErrorPages/404.aspx" responseMode="ExecuteURL" />
    </httpErrors>

you can also grab our web.config from http://clipflair.codeplex.com/SourceControl/changeset/view/07b7f3c138b8#Server/ClipFlair.Social/web.config and use WinDiff or CodeCompare to compare with yours. Mind you though we're using MonoX v4.9.40.4845, so it might not be a total match in available entries with yours if you use different version of MonoX

Ocjena 5,00, 1 glas(ova). 
2793 Reputacija 345 Ukupno objava
emrah-asl

emrah_asl

20.10.2015. 17:31:22
It's works. perfecti thansk you very much
Ovaj sadržaj još nije ocijenjen. 
1429 Reputacija 151 Ukupno objava