summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
Diffstat (limited to 'htetc')
-rw-r--r--htetc/freeside-rt.conf10
-rw-r--r--htetc/handler.pl1
2 files changed, 10 insertions, 1 deletions
diff --git a/htetc/freeside-rt.conf b/htetc/freeside-rt.conf
index bcc5de3bd..fe0142e05 100644
--- a/htetc/freeside-rt.conf
+++ b/htetc/freeside-rt.conf
@@ -90,3 +90,13 @@ SetHandler perl-script
PerlHandler HTML::Mason
</Directory>
+#XXX support running without /freeside in 4.x? or are we just giving up on
+# that and putting a redirect in at / ?
+Alias /freeside/rt/static "/opt/rt3/share/static"
+<Directory "/opt/rt3/share/static">
+<Limit GET POST>
+allow from all
+Satisfy any
+</Limit>
+</Directory>
+
diff --git a/htetc/handler.pl b/htetc/handler.pl
index 18108ab11..416ea69c4 100644
--- a/htetc/handler.pl
+++ b/htetc/handler.pl
@@ -107,7 +107,6 @@ sub handler
return -1 if defined( $r->content_type )
&& $r->content_type !~ m!(^text/|\bxml\b)!io;
-
local $SIG{__WARN__};
local $SIG{__DIE__};