Jump to content

can not get to phpmyadmin


crp

Recommended Posts

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 ?
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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."

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...