LINUXOR.SK ... open source notes ...

Email - Apache virtual host application include (IPv4), webmail

category: solutionz · date: 2019-12-31 · updated: 2026-10-02 · author: LALA

Email Solution · Config document · referenced from Webmail

The place where the unified Apache template expects the directives that belong to one application, included at the end of the virtual host. On the webmail server it holds nothing but its header: Roundcube ran with the template's defaults.

ItemValue
Path on the server/etc/httpd/conf.d/dc2-a-vcmsx002.adm.example.net.conf4.app
Shown hereDC2-A-VCMSX002
Also onthe same server as .conf6.app for IPv6, with the differences below
Loaded byInclude conf.d/dc2-a-vcmsx002.adm.example.net.conf4.app inside the virtual host
Activated withsystemctl start httpd in the install notes

The file

apache
################################################################################
# Virtualhost - Application specific configuration (IPv4)
################################################################################

# This file contains application specific configuration which will be included in VirtualHost directive for specific FQDN

Differences in the IPv6 file

FileLineValue
.conf4.apptitle in the headerVirtualhost - Application specific configuration (IPv4)
.conf6.apptitle in the headerVirtualhost - Application specific configuration (IPv6)
.conf4.append of fileone empty line after the last comment
.conf6.append of fileno empty line

This is where the Content Security Policy for Roundcube would have gone. The template carries a ready example of it in a comment of httpd.conf; it was never moved here.

← solutionz