Re: root password problem!!!!
Posted by:
yfastud
(---.cable.mindspring.com)
Date: January 14, 2006 02:37PM
Hi,
By the way, if you'd like to set the permission to access your PHPmyadmin and SQLitemanager, follows the tips below, which is credited to Joshua.
1. open httpd.conf
2. find the lines
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
3. after the </directory> line above add the following:
<Directory "C:/Internet/wamp/www/phpmyadmin">
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
<Directory "C:/Internet/wamp/www/sqlitemanager">
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
4. change location of the directories as your might be different from "C:/Internet/wamp/www/phpmyadmin"
Also in Alias folder (/wamp/Apache2/conf/alias), replace these lines in phpmyadmin.conf and splitemanager.conf:
Order allow,deny
Allow from all
By these lines:
Order deny,allow
Deny from all
Allow from 127.0.0.1
Note: For some reason, I had to restart my system more than 1 time to see the effective.
Testing: From wamp icon in system tray, select Localhost, you can access phpmyadmin or sqlitemanager or even Alias easily. Now in the browser, type your domain name or ip address, when you try to access phpmyadmin or sqlitemanager, you will get the Forbidden page that states you don't have the permission.
Hope this helps,
yfastud