diff --git a/install/tpl/apache_ispconfig.conf.master b/install/tpl/apache_ispconfig.conf.master index 32898014d598b573e99f8120df29a21f3f43d50f..650a944ea07102817a94265de5a33fef6a73e84b 100644 --- a/install/tpl/apache_ispconfig.conf.master +++ b/install/tpl/apache_ispconfig.conf.master @@ -7,4 +7,10 @@ LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig CustomLog "| /usr/sbin/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig + + AllowOverride None + Order Deny,Allow + Deny from all + + diff --git a/install/tpl/server.ini.master b/install/tpl/server.ini.master index f7a3d66797635937cb321a6cbb512e19dfa08651..cb6530665408e7f49572917147a397cc68275b82 100644 --- a/install/tpl/server.ini.master +++ b/install/tpl/server.ini.master @@ -29,8 +29,8 @@ message_size_limit=0 getmail_config_dir=/etc/getmail [web] -website_path=/var/clients/client[client_id]/web[website_id] -website_symlinks=/var/www/[website_domain]/:/var/clients/client[client_id]/[website_domain]/ +website_path=/var/www/clients/client[client_id]/web[website_id] +website_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/ vhost_conf_dir=/etc/apache2/sites-available vhost_conf_enabled_dir=/etc/apache2/sites-enabled diff --git a/server/conf/apache_ispconfig.conf.master b/server/conf/apache_ispconfig.conf.master index ed6b67ab4607b9a2f5ffc788ae129830b2174627..1211285cafacb497f45d1134587b163e3cc9ab39 100644 --- a/server/conf/apache_ispconfig.conf.master +++ b/server/conf/apache_ispconfig.conf.master @@ -6,6 +6,12 @@ LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig CustomLog "| /usr/sbin/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig + + AllowOverride None + Order Deny,Allow + Deny from all + + NameVirtualHost {tmpl_var name="ip_address"}:80 NameVirtualHost {tmpl_var name="ip_address"}:443 diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index 61edbf6d68ecd66d26a42e47026935b5d377a729..03f6bc1b49ca188c90a1ba63e6e906532da8173f 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -1,4 +1,10 @@ + + AllowOverride None + Order Deny,Allow + Deny from all + + :80> DocumentRoot @@ -27,7 +33,7 @@ ErrorDocument 500 /error/500.html ErrorDocument 503 /error/503.html - + Options FollowSymLinks AllowOverride Indexes AuthConfig Limit FileInfo