On 04/04/2017 06:11 PM, Reindl Harald wrote:
Am 05.04.2017 um 00:07 schrieb Robert Moskowitz:
I am reworking my httpd/conf.d/roundcubemail.conf.
What is the content:
# Those directories should not be viewed by Web clients. <Directory /usr/share/roundcubemail/bin/> Order Allow,Deny Deny from all
</Directory> <Directory /usr/share/roundcubemail/plugins/enigma/home/> Order Allow,Deny Deny from all </Directory>
for?
What uses it with what accessing url?
nothing from the web side as you can see by "Deny from all" (which is BTW outdated apache 2.2 syntax) which should be set for anythign running just as libraries / includes with no point to access directly by the client
Harald,
Thanks for responding. It is that practically everything on my apache 2.4 server is set up as a virtual host, other than these entries. Thus I was wondering what accessed how, as once you set up virtual servers in 2.4, that is the default access. httpd -S shows:
VirtualHost configuration: *:80 is a NameVirtualHost default server z9m9z.test.htt-consult.com (/etc/httpd/conf.d/00-init.conf:3) port 80 namevhost z9m9z.test.htt-consult.com (/etc/httpd/conf.d/00-init.conf:3) port 80 namevhost webmail.test.htt-consult.com (/etc/httpd/conf.d/roundcubemail.conf:1) alias webmail *:443 is a NameVirtualHost default server z9m9z.test.htt-consult.com (/etc/httpd/conf.d/00-init.conf:10) port 443 namevhost z9m9z.test.htt-consult.com (/etc/httpd/conf.d/00-init.conf:10) port 443 namevhost webmail.test.htt-consult.com (/etc/httpd/conf.d/roundcubemail.conf:16) alias webmail port 443 namevhost z9m9z.test.htt-consult.com (/etc/httpd/conf.d/ssl.conf:56) ServerRoot: "/etc/httpd" Main DocumentRoot: "/var/www/html"
I don't want something broken I do not understand because of how apache is configured.