I have a domain: example.com. There’s also a subdomain, admin.example.com:
<VirtualHost *:80>
ServerName admin.example.com
ServerAlias admin
</VirtualHost>
Now I want to make postfixadmin
control panel available at admin.example.com/postfix. The default config in /etc/apache2/conf.d/postfixadmin
is:
Alias /postfixadmin /usr/share/postfixadmin
How should I change it? What I want is something like:
Alias admin/postfix /usr/share/postfixadmin
Edit: I know that I can just create a symlink under document root, pointing to /usr/share/postfixadmin
, but I’m looking for a solution through the means of Apache config.