I was able to fix my own problem from the overflowing amount of information on the web. I was trying to go this route before, but I found a bit of info on a message board that solved my problem. I moved the located on the htpasswd file, and modified my httpd.conf and htaccess files accordingly. They are now:
# htaccess file # Location /etc/httpd/phpmyadmin/htaccess AuthUserFile /etc/httpd/conf/.htpasswd AuthGroupFile /dev/null AuthType Basic AuthName "Restricted Access" Require valid-user # htpasswd file # Location /etc/httpd/conf/htpasswd sxjcp:XXXXXXXXXXXXX # httpd.conf # Directory addition <Directory "/etc/httpd/phpmyadmin"> Options Indexes ExecCGI Includes AllowOverride AuthConfig Order allow,deny Allow from all </Directory> --- Joshua Peter <[EMAIL PROTECTED]> wrote: > I'm trying to secure my directory that has > phpmyadmin. > I've placed a .htaccess file in there that has: > > # .htaccess contents > AuthType Basic > AuthUserFile /var/www/passwd/phpmyadmin.pwd > AuthName My Realm > Require valid-user > > > htpasswd is in a seperate dir as indicated in my > .htaccess: > > # htpasswd contents > sxjcp:XXXXXXXXXXXXX > root:XXXXXXXXXXXXX > > > httpd.conf to set the directory security is: > > # httpd.conf directory > <Directory "/etc/httpd/phpMyAdmin-2.5.1"> > AllowOverride AuthConfig > </Directory> > > > What am I missing here? This is my first time > configuring Apache and the directory security, so > please be specific in your responses. Thanks in > advance. :) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list