commit e5071903da19077d5829a4a7e646f0644213155a
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Sat Jan 25 00:54:31 2014 +0100

    - let images be handled by rt itself since this is proper way

 lighttpd.conf  | 34 ++++++++++++++--------------------
 rt-apache.conf |  1 -
 2 files changed, 14 insertions(+), 21 deletions(-)
---
diff --git a/lighttpd.conf b/lighttpd.conf
index 78e9603..f41e809 100644
--- a/lighttpd.conf
+++ b/lighttpd.conf
@@ -1,20 +1,14 @@
-alias.url = (
-       "/rt/NoAuth/images/" => "/usr/share/rt/html/NoAuth/images/",
-)
-
-$HTTP["url"] !~ "^/rt/NoAuth/images/" {
-       fastcgi.debug = 1
-       fastcgi.server = (
-               "/rt/" => (
-                       "rt" => (
-                               "port"        => "9000",
-                               "bin-path"    => "/usr/sbin/rt-server.fcgi",
-                               "check-local" => "disable",
-                               "disable-time" => 0,
-                               "min-procs" => 2,
-                               "max-procs" => 5,
-                               "fix-root-scriptname" => "enable",
-                               )
-                      )
-               )
-}
+#fastcgi.debug = 1
+fastcgi.server = (
+       "/rt/" => (
+               "rt" => (
+                       "port"        => "9000",
+                       "bin-path"    => "/usr/sbin/rt-server.fcgi",
+                       "check-local" => "disable",
+                       "disable-time" => 0,
+                       "min-procs" => 2,
+                       "max-procs" => 5,
+                       "fix-root-scriptname" => "enable",
+                       )
+              )
+       )
diff --git a/rt-apache.conf b/rt-apache.conf
index 308189d..70b81bc 100644
--- a/rt-apache.conf
+++ b/rt-apache.conf
@@ -9,7 +9,6 @@
 # XXX: you don't overwrite global documentroot. if you want virtualhost sample 
add VirtualHost...
 #DocumentRoot /usr/share/rt/html/
 
-    Alias /NoAuth/images/ /usr/share/rt/html/NoAuth/images/
     Alias /error/ "/home/services/httpd/error/"
     AddDefaultCharset UTF-8
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rt.git/commitdiff/e5071903da19077d5829a4a7e646f0644213155a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to