summaryrefslogtreecommitdiffstats
path: root/www/horde/httpd.conf.phplib
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-18 04:17:52 +0000
committerijliao <ijliao@FreeBSD.org>2001-08-18 04:17:52 +0000
commit031041607ed005a2e424039a5ce7fafc686b9ccd (patch)
tree0e5399a8b6d4ac94a958daf83d103ee3f19762c5 /www/horde/httpd.conf.phplib
parent053e5e1341a8da13401bc79370826877cf385292 (diff)
downloadFreeBSD-ports-031041607ed005a2e424039a5ce7fafc686b9ccd.zip
FreeBSD-ports-031041607ed005a2e424039a5ce7fafc686b9ccd.tar.gz
add horde
A common code-base used by Horde applications, written in PHP PR: 28872 Submitted by: Thierry Thomas <thierry@thomas.as>
Diffstat (limited to 'www/horde/httpd.conf.phplib')
-rw-r--r--www/horde/httpd.conf.phplib55
1 files changed, 55 insertions, 0 deletions
diff --git a/www/horde/httpd.conf.phplib b/www/horde/httpd.conf.phplib
new file mode 100644
index 0000000..16a4c51
--- /dev/null
+++ b/www/horde/httpd.conf.phplib
@@ -0,0 +1,55 @@
+
+# Added for Horde
+<Directory /home/httpd/html/horde>
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ order allow,deny
+ allow from all
+ <IfModule mod_php3.c>
+ php3_include_path '/home/httpd/phplib:.'
+ php3_auto_prepend_file /home/httpd/phplib/prepend.php3
+ php3_magic_quotes_gpc Off
+ php3_track_vars On
+ </IfModule>
+ <IfModule mod_php4.c>
+ php_value include_path '/home/httpd/phplib:.'
+ php_value auto_prepend_file /home/httpd/phplib/prepend.php3
+ php_flag register_globals On
+ php_flag magic_quotes_gpc Off
+ php_flag track_vars On
+ </IfModule>
+</Directory>
+
+<IfModule mod_alias.c>
+ Alias /horde/ "/home/httpd/html/horde/"
+</IfModule>
+#
+# For security, don't serve pages from the Horde configuration and library
+# directories.
+#
+<Directory "/home/httpd/html/horde/config">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/lib">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/locale">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "/home/httpd/phplib">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/scripts">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/templates">
+ Order deny,allow
+ Deny from all
+</Directory>
+# End of Horde configuration ================
+
OpenPOWER on IntegriCloud