summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2010-07-29 09:58:29 +0000
committerTiziano Müller <dev-zero@gentoo.org>2010-07-29 09:58:29 +0000
commit744d4fd14ac7ab526cf8a44f037faa5441fd86df (patch)
tree5ef10a30dfa2085243c5fc90974949c45293c454 /net-nds/gosa-core/files
parentVersion Bump (diff)
downloadgentoo-2-744d4fd14ac7ab526cf8a44f037faa5441fd86df.tar.gz
gentoo-2-744d4fd14ac7ab526cf8a44f037faa5441fd86df.tar.bz2
gentoo-2-744d4fd14ac7ab526cf8a44f037faa5441fd86df.zip
Initial commit, ebuild written by me (bug #224983).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-nds/gosa-core/files')
-rw-r--r--net-nds/gosa-core/files/gosa.include36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-nds/gosa-core/files/gosa.include b/net-nds/gosa-core/files/gosa.include
new file mode 100644
index 000000000000..dcd3434964a4
--- /dev/null
+++ b/net-nds/gosa-core/files/gosa.include
@@ -0,0 +1,36 @@
+Alias /gosa /usr/share/gosa/html
+
+<Directory /usr/share/gosa/html>
+ Options None
+ AllowOverride None
+ Order deny,allow
+ Allow from all
+</Directory>
+
+<IfModule mod_php5.c>
+<Location /gosa>
+ php_admin_flag engine on
+ php_admin_flag register_globals off
+ php_admin_flag allow_call_time_pass_reference off
+ php_admin_flag expose_php off
+ php_admin_flag zend.ze1_compatibility_mode off
+ php_admin_flag register_long_arrays off
+ php_admin_flag magic_quotes_gpc on
+ php_admin_value upload_tmp_dir /var/spool/gosa/
+ php_admin_value session.cookie_lifetime 0
+ include /etc/gosa/gosa.secrets
+</Location>
+</IfModule>
+
+<IfModule mod_fcgid.c>
+ PHP_Fix_Pathinfo_Enable 1
+ <Location /gosa>
+ Options +ExecCGI
+ AddHandler fcgid-script .php
+ FCGIWrapper /var/www/php-fcgi/php-fcgi-starter .php
+ include /etc/gosa/gosa.secrets
+ </Location>
+</IfModule>
+
+
+# vim: ts=4 filetype=apache