Commit d887a62f authored by Fabien Morin's avatar Fabien Morin

add 404 default error page in case web page are not found. It will be possible...

add 404 default error page in case web page are not found. It will be possible to define a reference on the website configuration layout to display another customize 404 error page.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34392 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b68cfb0
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">\n
<html>\n
<head>\n
<meta http-equiv="content-type" content="text/html; charset=utf-8">\n
<title>404 Not Found</title>\n
</head>\n
<img style="width:150px" alt="ERP5 Logo" src="images/erp5_logo.png"/> \n
<body>\n
<h1>Not Found</h1>\n
The requested URL <code><tal:block tal:content="request/URL">/fdsqflkjdsqflkjdslkjf</tal:block></code> was not found on this server. \n
<hr />\n
</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>404.error.page</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
925 927
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment