I have my domain setup to host roundcube at the root domain just fine, using root /www/roundcube in the vhost config, but when I attempt to add another location for phpmyadmin using root /www/phpmyadmin for the location specific root I've been getting some odd errors. I've tried many different configurations, including alias, root, root with rewrite, etc, but I keep getting either 404, 403, just an empty screen (no source) or even it showing me the roundcube install from domain.com/phpmyadmin. Here is a pastebin of my vhost file as it stands now, where the phpmyadmin sub directory works, but the roundcube on the root domain doesn't. (I am on mobile at the moment so this was the best I could do)
What am I doing wrong, or better yet, which part of location/root/alias am I misunderstanding?