[CentOS] if you install cgi programs from rpm, how to configure for actual use in /var/www/html ?

Wed Jan 5 17:46:31 UTC 2011
Les Mikesell <lesmikesell at gmail.com>

On 1/5/2011 10:42 AM, Paul Johnson wrote:
> In Centos 5.5, I've had this same experience over and over.  I have no
> trouble installing CGI programs the old fashioned way (untar into
> /var/www/html and configure), but don't like un-rpm managed files
> floating about.  So I can install, for example, phpMyAdmin, from EPEL.
> That phpMyAdmin RPM drops files into a bunch of locations, the php
> files are under /usr/share/phpMysql
> and then there are also:
> /etc/httpd/conf.d/phpMyAdmin.conf
> /etc/phpMyAdmin
> /etc/phpMyAdmin/config.inc.php
> and this:
> /var/lib/phpMyAdmin
> /var/lib/phpMyAdmin/config
> /var/lib/phpMyAdmin/save
> /var/lib/phpMyAdmin/upload
> In order to make this actually work on the web server, I copy the
> directory /usr/share/phpMyAdmin into /var/www/html and then I edit the
> /etc/httpd/conf.d/phpMyAdmin.conf.  Then it works.

What is keeping it from working with the supplied:
Alias /phpMyAdmin /usr/share/phpMyAdmin
(i.e. to the install location)?

   Les Mikesell
    lesmikesell at gmail.com