It does not work during development just for production environment.
secure_module: sfGuardAuth
secure_action: secure
+
+ error_404_module: customerrors
+ error_404_action: error404
--- /dev/null
+<?php
+
+/**
+ * category actions.
+ *
+ * @package mobiads
+ * @subpackage customerrors
+ * @author Gustavo Martin Morcuende
+ * @version
+ */
+class customerrorsActions extends sfActions
+{
+ /**
+ * Error page for page not found (404) error
+ *
+ */
+ public function executeError404()
+ {
+ }
+}
--- /dev/null
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/13-View
+
+default:
+ http_metas:
+ content-type: text/html
+
+ metas:
+ #title: symfony project
+ #description: symfony project
+ #keywords: symfony, project
+ #language: en
+ #robots: index, follow
+
+ stylesheets: [inadminpanel/style.css, inadminpanel/niceforms-default.css]
+
+ javascripts: [jquery-1.6.2.min.js, inadminpanel/ddaccordion.js]
+
+ has_layout: true
+ layout: layoutsfGuardAuth
--- /dev/null
+<center><?php echo image_tag('/sf/sf_default/images/icons/cancel48.png', array('alt' => 'page not found', 'size' => '48x48')) ?></center>
+<h1><center>Oops! Page Not Found</center></h1>
+<h1><center>The server returned a 404 response.</center></h1>
+
+<table align="center">
+ <tbody>
+ <tr>
+ <td>
+ <a href="javascript:history.go(-1)"class="bt_red"><span class="bt_red_lft"></span><strong><?php echo __('Back to previous page') ?></strong><span class="bt_red_r"></span></a>
+ </td>
+ <td>
+ <a href="<?php echo url_for('@homepage') ?>" class="bt_green"><span class="bt_green_lft"></span><strong><?php echo __('Go to Homepage') ?></strong><span class="bt_green_r"></span></a>
+ </td>
+ </tr>
+ </tbody>
+</table>
secure_module: sfGuardAuth
secure_action: secure
+
+ error_404_module: customerrors
+ error_404_action: error404
--- /dev/null
+<?php
+
+/**
+ * category actions.
+ *
+ * @package mobiads
+ * @subpackage customerrors
+ * @author Gustavo Martin Morcuende
+ * @version
+ */
+class customerrorsActions extends sfActions
+{
+ /**
+ * Error page for page not found (404) error
+ *
+ */
+ public function executeError404()
+ {
+ }
+}
--- /dev/null
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/13-View
+
+default:
+ http_metas:
+ content-type: text/html
+
+ metas:
+ #title: symfony project
+ #description: symfony project
+ #keywords: symfony, project
+ #language: en
+ #robots: index, follow
+
+ stylesheets: [inadminpanel/style.css, inadminpanel/niceforms-default.css]
+
+ javascripts: [jquery-1.6.2.min.js, inadminpanel/ddaccordion.js]
+
+ has_layout: true
+ layout: layoutsfGuardAuth
--- /dev/null
+<center><?php echo image_tag('/sf/sf_default/images/icons/cancel48.png', array('alt' => 'page not found', 'size' => '48x48')) ?></center>
+<h1><center>Oops! Page Not Found</center></h1>
+<h1><center>The server returned a 404 response.</center></h1>
+
+<table align="center">
+ <tbody>
+ <tr>
+ <td>
+ <a href="javascript:history.go(-1)"class="bt_red"><span class="bt_red_lft"></span><strong><?php echo __('Back to previous page') ?></strong><span class="bt_red_r"></span></a>
+ </td>
+ <td>
+ <a href="<?php echo url_for('@homepage') ?>" class="bt_green"><span class="bt_green_lft"></span><strong><?php echo __('Go to Homepage') ?></strong><span class="bt_green_r"></span></a>
+ </td>
+ </tr>
+ </tbody>
+</table>