summaryrefslogtreecommitdiffstats
path: root/Bugzilla/ModPerl.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-04 05:05:04 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:54 +0200
commited6d5cdaaeac6422e5933e4e8138b481e35ab4f3 (patch)
tree821e7a1330326e5d9630560076049bce01f3c3d6 /Bugzilla/ModPerl.pm
parent5d6d68697dceec6a8c5a8947118abe527ad09ba1 (diff)
downloadbugzilla-ed6d5cdaaeac6422e5933e4e8138b481e35ab4f3.tar.gz
bugzilla-ed6d5cdaaeac6422e5933e4e8138b481e35ab4f3.tar.xz
initial proof of concept of mojolicious inside bmo
Diffstat (limited to 'Bugzilla/ModPerl.pm')
-rw-r--r--Bugzilla/ModPerl.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/ModPerl.pm b/Bugzilla/ModPerl.pm
index 19cd1128f..6f7ed22e9 100644
--- a/Bugzilla/ModPerl.pm
+++ b/Bugzilla/ModPerl.pm
@@ -109,6 +109,13 @@ ErrorDocument 500 /errors/500.html
require valid-user
</Location>
+<Location /new>
+ SetHandler perl-script
+ PerlResponseHandler Plack::Handler::Apache2
+ PerlSetEnv MOJO_HOME [% cgi_path %]
+ PerlSetVar psgi_app [% cgi_path %]/new.psgi
+</Location>
+
# directory rules for all the other places we have .htaccess files
[% FOREACH htaccess IN htaccess_files %]
# from [% htaccess.file %]