[Fusionforge-commits] r12178 - branches/Branch_5_1/src/etc/httpd.conf.d

Roland Mas lolando at libremir.placard.fr.eu.org
Mon Feb 7 16:35:30 CET 2011


Author: lolando
Date: 2011-02-07 16:35:29 +0100 (Mon, 07 Feb 2011)
New Revision: 12178

Modified:
   branches/Branch_5_1/src/etc/httpd.conf.d/secrets.inc
Log:
Only give access to secrets to the main sites (projects-in-mainvhost.inc, I'm looking at you)

Modified: branches/Branch_5_1/src/etc/httpd.conf.d/secrets.inc
===================================================================
--- branches/Branch_5_1/src/etc/httpd.conf.d/secrets.inc	2011-02-07 14:53:11 UTC (rev 12177)
+++ branches/Branch_5_1/src/etc/httpd.conf.d/secrets.inc	2011-02-07 15:35:29 UTC (rev 12178)
@@ -1,20 +1,22 @@
-#RequestHeader unset GForgeDbhost
-#RequestHeader append GForgeDbhost "{core/database_host}"
-
-RequestHeader unset GForgeDbport
-RequestHeader append GForgeDbport "{core/database_port}"
-
-RequestHeader unset GForgeDbname
-RequestHeader append GForgeDbname "{core/database_name}"
-
-RequestHeader unset GForgeDbuser
-RequestHeader append GForgeDbuser "{core/database_user}"
-
-RequestHeader unset GForgeDbpasswd
-RequestHeader append GForgeDbpasswd "{core/database_password}"
-
-RequestHeader unset GForgeLdapPasswd
-RequestHeader append GForgeLdapPasswd "{core/ldap_password}"
-
-RequestHeader unset GForgeJabberPasswd
-RequestHeader append GForgeJabberPasswd "{core/jabber_password}"
+<Directory {core/source_path}>
+  #RequestHeader unset GForgeDbhost
+  #RequestHeader append GForgeDbhost "{core/database_host}"
+  
+  RequestHeader unset GForgeDbport
+  RequestHeader append GForgeDbport "{core/database_port}"
+  
+  RequestHeader unset GForgeDbname
+  RequestHeader append GForgeDbname "{core/database_name}"
+  
+  RequestHeader unset GForgeDbuser
+  RequestHeader append GForgeDbuser "{core/database_user}"
+  
+  RequestHeader unset GForgeDbpasswd
+  RequestHeader append GForgeDbpasswd "{core/database_password}"
+  
+  RequestHeader unset GForgeLdapPasswd
+  RequestHeader append GForgeLdapPasswd "{core/ldap_password}"
+  
+  RequestHeader unset GForgeJabberPasswd
+  RequestHeader append GForgeJabberPasswd "{core/jabber_password}"
+</Directory>




More information about the Fusionforge-commits mailing list