- or download this
if (! ($r->uri =~ / special patterns go here /)) {
$m->redirect('/page-not-found-error.html?p=' .uri_escape($r->u
+ri));
}
- or download this
ErrorDocument 404 /page-not-found-error.html
- or download this
% my $page = uri_unescape($p) || $ENV{REDIRECT_URL};
You were looking for <% $page %> and the server can't find it.
- or download this
if ($new) {
# from http://www.masonhq.com/?FAQ:HTTPAndHTML
...
$r->header_out('Location' => $new);
$m->abort(301);
}
- or download this
Not Found
The requested URL /login/advanced was not found on this server.
Additionally, a 301 Moved Permanently error was encountered while tryi
+ng to use an ErrorDocument to handle the request.
- or download this
$m->clear_buffer;
$r->method('GET');
...
$r->content_type('text/html');
$r->header_out('Location' => $new);
$m->abort(301);
- or download this
The requested URL /login/advanced was not found on this server.
Additionally, a 301 Moved Permanently error was encountered while tryi
+ng to use an ErrorDocument to handle the request.