summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-07-26 15:41:26 -0700
committerIvan Kohler <ivan@freeside.biz>2015-07-26 15:41:26 -0700
commit9aee669886202be7035e6c6049fc71bc99dd3013 (patch)
tree2fd5bf6de74f3d99270587ffb1833e4188a6373d /htetc
parentac20214d38d9af00430423f147b5a0e50751b050 (diff)
parent1add633372bdca3cc7163c2ce48363fed3984437 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
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__};