Maybe I am missing something but I can not figure out how to disable /phpmyadmin and /webmail URL for sites. I wouldn't like to reach phpmyadmin at http://website1.tld/phpmyadmin, only at https://myserver.tld/phpmyadmin and roundcube at https://myserver.tld/webmail A http rewrite is not good, so I'd like if the /webmail and /phpmyadmin default alias is not exists for my websites, only for my server. Can you help me how to do it?
As I don't know how you included roundcubemail in your setup, that would be a bit vague. Same for phpmyadmin, as you don't even specify what OS you are on. In perfect server howtos, phpmyadmin is installed via OS package managers most of the times so it has an extra configuration for apache, that has to be edited or disabled to not be available on all vhosts. On Debian/Ubuntu that would be: /etc/apache2/conf.d/phpmyadmin.conf (or conf-available if you are on newer apache versions) There, an alias is declared system wide (and not only inside a Virtualhost directive). If you comment that and include it in the vhost you want, that should take care of your problem for phpmyadmin. Another option would be to simply uninstall the OS-based phpmyadmin with your package manager of choice and install the tar.gz or zip archive from phpmyadmin.net into the domain/vhost you want it to run by yourself. But think twice about that as packages like phpmyadmin or roundcube are things that change often and can contain bugs so if you uninstall the OS package and install it yourself, you also have to take care and update it yourself! Greets
Dear Grey, You have absolutely right OS: Debian 7.2 phpmyadmin and roundcube was installed via aptitude package manager I commented out Alias 'phpmyadmin' from /etc/apache2/conf.d/phpmyadmin.conf and 'webmail' from /etc/apache2/conf.d/roundcube and included in /etc/apache2/sites-available/ispconfig.vhost Now http://website.tld/phpmyadmin and http://website.tld/webmail gives 'Page not found', and https://myserver.tld/phpmyadmin and https://myserver.tld/webmail give webapps login page as I expected. Thank you very much for your help!