crp Posted June 20, 2008 Share Posted June 20, 2008 cat /etc/httpd/conf.d/phpmyadmin.conf ## Web application to manage MySQL#<Directory "/usr/share/phpmyadmin">order deny,allowdeny from allallow from 127.0.0.1,192.168.1.10,192.168.1.51</Directory>Alias /phpmyadmin /usr/share/phpmyadminAlias /phpMyAdmin /usr/share/phpmyadminAlias /mysqladmin /usr/share/phpmyadmin but when I try from the command line on pc 192.168.1.51 (which is the server host) lynx 192.168.1.51/phpmyadminI get : Forbidden You don't have permission to access /phpmyadmin on this server. _________________________________________________________________ Apache/2.0.54 (Fedora) Server at 192.168.1.51 Port 80 lynx 192.168.1.51 does give me the Apache page.What am I missing ? Quote Link to comment Share on other sites More sharing options...
Peachy Posted June 20, 2008 Share Posted June 20, 2008 You will need to add the <DirectoryIndex> directive and specify in a space separated list the default filenames such as index.php, index.htm, index.html, etc. Quote Link to comment Share on other sites More sharing options...
crp Posted June 20, 2008 Author Share Posted June 20, 2008 You will need to add the <DirectoryIndex> directive and specify in a space separated list the default filenames such as index.php, index.htm, index.html, etc.I make this change to /etc/httpd/conf.d/phpmyadmin.conf ?!?makes me wonder if the phpmyadmin was installed correctly. Quote Link to comment Share on other sites More sharing options...
Peachy Posted June 20, 2008 Share Posted June 20, 2008 I make this change to /etc/httpd/conf.d/phpmyadmin.conf ?!?makes me wonder if the phpmyadmin was installed correctly.From what I understand, yes, if the /etc/httpd/conf.d/phpmyadmin.conf is imported by the main httpd.conf file. Double check your main httpd.conf file to make sure that phpmyadmin.conf is imported. Do a search on the name is a quick way to do it. Quote Link to comment Share on other sites More sharing options...
crp Posted June 22, 2008 Author Share Posted June 22, 2008 ls -l /usr/share/phpmyadmin/index.php-rw-r--r-- 1 root root 6037 Aug 21 2007 /usr/share/phpmyadmin/index.phpI added "DirectoryIndex index.php" to phpmyadmin.confI restarted the httpdstill get " You don't have permission to access /phpmyadmin on this server." Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.