Page 1 of 1

404 pages on 1.10.3 "Hyacinthe"

Posted: Sun Jun 17, 2012 12:48 pm
by tylei
Im using shared hosting server with direct admin, it has custom 404.shtml by defould, but when installing 1.10.3 "Hyacinthe" with mod_rewrite, this 404 wouldn't appear.
I have try to set it manually with .htaccess by entering ErrorDocument 404 /404.shtml but it didnt helped.

Re: 404 pages on 1.10.3 "Hyacinthe"

Posted: Sun Jun 17, 2012 2:17 pm
by SimonJ
I have this in 404.shtml

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> 
<__html>
  <head>
    <title>
      Tux
    </title>
    <META NAME="revisit" CONTENT="2 days">
    <meta NAME="Robot" CONTENT="allow">
  </head>
  </__body>
    <__script__ type="text/javascript" language="javascript">
    window.location="http://tux.id.au/index.php?page=error404";
    </__script>
    Click <a href="http://tux.id.au/index.php?page=error404">here</a>
     to enter site<br>
  <__body>
</__html>
 
Which points to the 404 error page I set up in CMSMS

Re: 404 pages on 1.10.3 "Hyacinthe"

Posted: Sun Jun 17, 2012 2:45 pm
by tylei
SimonJ wrote:I have this in 404.shtml

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> 
<__html>
  <head>
    <title>
      Tux
    </title>
    <META NAME="revisit" CONTENT="2 days">
    <meta NAME="Robot" CONTENT="allow">
  </head>
  </__body>
    <__script__ type="text/javascript" language="javascript">
    window.location="http://tux.id.au/index.php?page=error404";
    </__script>
    Click <a href="http://tux.id.au/index.php?page=error404">here</a>
     to enter site<br>
  <__body>
</__html>
 
Which points to the 404 error page I set up in CMSMS
how did you done setup of 404 in CMSMS maby thereis smth in cpanel?

Re: 404 pages on 1.10.3 "Hyacinthe"

Posted: Sun Jun 17, 2012 8:36 pm
by Dr.CSS
You can make a custom 404 page in the admin of CMSMS, check under Site admin...

EDIT: sorry, it is "site down" under site admin...

Re: 404 pages on 1.10.3 "Hyacinthe"

Posted: Mon Jun 18, 2012 1:04 pm
by tylei
Dr.CSS wrote:You can make a custom 404 page in the admin of CMSMS, check under Site admin...
cant find anything related with 404 under siteadmin could you be more specific, please?

Re: 404 pages on 1.10.3 "Hyacinthe"

Posted: Mon Jun 18, 2012 4:39 pm
by Dr.CSS
Sorry it isn't "in the admin" add new content/page use Content type: Error page...

Re: 404 pages on 1.10.3 "Hyacinthe"

Posted: Mon Jun 18, 2012 11:17 pm
by SimonJ
Yes in Admin/Pages you can add new content and then change content type from Content to Error Page (among others). :)