summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorichdasich <ichdasich@29ba0400-6e00-0410-a75a-ca02368028f8>2008-09-26 21:57:01 +0000
committerichdasich <ichdasich@29ba0400-6e00-0410-a75a-ca02368028f8>2008-09-26 21:57:01 +0000
commit6b9d8cd76fcba08de3742d314b171585a563f6d9 (patch)
tree7ca6e6383f1e3c8fca11ba9c91a8d5ba8b6397cc
parent9d465625896025d4c035748ead0d763964cecad3 (diff)
added openbasedir directiv to httpd-configs
git-svn-id: svn://svn.cccv.de/engel-system@297 29ba0400-6e00-0410-a75a-ca02368028f8
-rw-r--r--default-conf/etc/default3
-rw-r--r--default-conf/etc/https1
2 files changed, 3 insertions, 1 deletions
diff --git a/default-conf/etc/default b/default-conf/etc/default
index 671e9683..49e60ba1 100644
--- a/default-conf/etc/default
+++ b/default-conf/etc/default
@@ -1,8 +1,9 @@
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@localhost
-
+
DocumentRoot /var/www/http/
+ php_admin_value open_basedir "/var/www/"
<Directory />
Options FollowSymLinks
AllowOverride None
diff --git a/default-conf/etc/https b/default-conf/etc/https
index 8e1aae11..aaa0bf3f 100644
--- a/default-conf/etc/https
+++ b/default-conf/etc/https
@@ -8,6 +8,7 @@
ServerAdmin webmaster@localhost
#kann auch einfach eine IP sein
ServerName localhost
+ php_admin_value open_basedir "/var/www/"
DocumentRoot /var/www/https
<Directory /var/www/https>
Order Deny,Allow