[Rt-commit] [svn] r791 - in rt: . branches/rt-3.3/html/REST/2.0
branches/rt-3.3/html/REST/2.0/Error
autrijus at pallas.eruditorum.org
autrijus at pallas.eruditorum.org
Sat May 1 09:33:03 EDT 2004
Author: autrijus
Date: Sat May 1 09:33:03 2004
New Revision: 791
Modified:
rt/ (props changed)
rt/branches/rt-3.3/html/REST/2.0/Error/index
rt/branches/rt-3.3/html/REST/2.0/autohandler
Log:
----------------------------------------------------------------------
r4339 at not: autrijus | 2004-05-01T13:32:59.502832Z
* adapt for FastCGI's needs
----------------------------------------------------------------------
Modified: rt/branches/rt-3.3/html/REST/2.0/Error/index
==============================================================================
--- rt/branches/rt-3.3/html/REST/2.0/Error/index (original)
+++ rt/branches/rt-3.3/html/REST/2.0/Error/index Sat May 1 09:33:03 2004
@@ -1,7 +1,6 @@
<%INIT>
$r->content_type('text/html');
$r->status($Status);
-$m->abort($Status);
</%INIT>
<%ARGS>
$Status => 500
Modified: rt/branches/rt-3.3/html/REST/2.0/autohandler
==============================================================================
--- rt/branches/rt-3.3/html/REST/2.0/autohandler (original)
+++ rt/branches/rt-3.3/html/REST/2.0/autohandler Sat May 1 09:33:03 2004
@@ -1,6 +1,8 @@
%# Forbid direct access in this directory -- everything goes thru dhandler
% # If it's a noauth file, don't ask for auth.
-% if ($m->base_comp->path =~ $RT::WebNoAuthRegex ) {
+% my $path = $m->base_comp->path;
+% if ($path =~ $RT::WebNoAuthRegex ) {
+% $r->content_type('text/css') if $path =~ /\.css$/i;
% $m->call_next(%ARGS);
% $m->abort();
% }
More information about the Rt-commit
mailing list