Problem
The system is allowing universal access to the php app 'owncloud'. That is, access is granted to servers across the network. As a test 'Require all denied' did not control access.
What is missing in this configuration to limit access to the server host?
Other thoughts
Are there config changes required to hpptd.conf as well? Is this an owncloud.conf issue or an httpd.conf issue? Is php.conf involved in these symptoms?
Specs
Fedora 21
- httpd
- mod_ssl level 2.4.16
- As part of the process to get to this point htaccess files have been renamed.
- /etc/httpd/conf/httpd.conf file is standard.
/etc/httpd/conf.d/owncloud.conf file:
<VirtualHost *:443>
ServerName owncloud
ServerAlias owncloud
DocumentRoot /var/www/html/owncloud
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/owncloud.pem
SSLCertificateKeyFile /etc/httpd/ssl/owncloud.key
<Directory /var/www/http/owncloud>
Options +Indexes +FollowSymLinks
AllowOverride All
Require local
<IfModule mod_php5.c>
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value memory_limit 512M
php_value mbstring.func_overload 0
</IfModule>
<IfModule pagespeed_module>
</IfModule>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
RewriteRule ^\.well-known/carddav /remote.php/carddav/ [R]
RewriteRule ^\.well-known/caldav /remote.php/caldav/ [R]
</Directory>
</VirtualHost>