Author: glen                         Date: Sun Nov  4 18:30:11 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- sample for http->https redirection

---- Files affected:
SOURCES:
   eventum-lighttpd.conf (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/eventum-lighttpd.conf
diff -u SOURCES/eventum-lighttpd.conf:1.4 SOURCES/eventum-lighttpd.conf:1.5
--- SOURCES/eventum-lighttpd.conf:1.4   Mon Jul 24 19:29:09 2006
+++ SOURCES/eventum-lighttpd.conf       Sun Nov  4 19:30:06 2007
@@ -5,6 +5,14 @@
 #
 # To use one of the configurations uncomment the other.
 
+# To redirect all http requests to https server:
+#$SERVER["socket"] == ":80" {
+#      $HTTP["host"] == "eventum.example.org" {
+#              server.name = "eventum.example.org"
+#              url.redirect = ( "^/(.*)" => "https://eventum.example.org/$1"; )
+#      }
+#}
+
 # running as alias, part 1
 alias.url += (
        "/eventum" => "/usr/share/eventum/htdocs",
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/eventum-lighttpd.conf?r1=1.4&r2=1.5&f=u

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

Reply via email to