link phpMyadmin to all my domains in Apache

I want to have apache setup so that each of my domais added to the server via apache all have access to phpmyadmin/

http://domain.com/phpadmin/

How can I acomplish this through the apach httpd.conf file?
LVL 3
jbrashear72Asked:
Who is Participating?
 
Pieter JordaanConnect With a Mentor Senior Systems Administrator - Web hosting and Network Security.Commented:
Hi

You can add the Alias to your main apache2.conf or httpd.conf file to include it for all virtual hosts.

Alias /phpmyadmin /var/www/phpMyAdmin

Then restart apache to apply the new configuration.
0
 
quinksCommented:
The Alias directory can be defined outside any <VirtualHost>.
0
 
quinksCommented:
s/directory/directive - sorry!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.