Plz help to access phpmyadmin on locally and remotelly.....
it was working fine last 2 days back, and when i tried to access phpmyadmin and nagios server, i got forbidden messages....
i don't know, what problem occure....
Plz help me.......
when i access phpmyadmin url like as....
http://192.168.20.1/phpmyadmin/
................
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
Apache/2.2.15 (CentOS) Server at 192.168.20.1 Port 80
.......................................
[root@server1 ~]# ls /var/www/html/phpmyadmin/phpMyAdmin-3.4.9-english/
browse_foreigners.php import.php README.VENDOR tbl_export.php
bs_disp_as_mime_type.php import_status.php RELEASE-DATE-3.4.9 tbl_get_field.php
bs_play_media.php index.php robots.txt tbl_import.php
ChangeLog INSTALL schema_edit.php tbl_indexes.php
changelog.php js schema_export.php tbl_move_copy.php
chk_rel.php libraries scripts tbl_operations.php
config.inc.php LICENSE server_binlog.php tbl_printview.php
config.sample.inc.php license.php server_collations.php tbl_relation.php
contrib main.php server_databases.php tbl_replace.php
CREDITS navigation.php server_engines.php tbl_row_action.php
db_create.php phpdoctor.ini server_export.php tbl_select.php
db_datadict.php phpinfo.php server_import.php tbl_sql.php
db_export.php phpmyadmin.css.php server_privileges.php tbl_structure.php
db_import.php pmd server_processlist.php tbl_tracking.php
db_operations.php pmd_common.php server_replication.php themes
db_printview.php pmd_display_field.php server_sql.php themes.php
db_qbe.php pmd_general.php server_status.php TODO
db_search.php pmd_help.php server_synchronize.php transformation_overview.php
db_sql.php pmd_pdf.php server_variables.php transformation_wrapper.php
db_structure.php pmd_relation_new.php setup url.php
db_tracking.php pmd_relation_upd.php show_config_errors.php user_password.php
docs.css pmd_save_pos.php sql.php view_create.php
Documentation.html prefs_forms.php tbl_addfield.php view_operations.php
Documentation.txt prefs_manage.php tbl_alter.php webapp.php
enum_editor.php print.css tbl_change.php
export.php querywindow.php tbl_chart.php
favicon.ico README tbl_create.php
[root@server1 ~]# vim /etc/httpd/conf.d/phpMyAdmin.conf
# phpMyAdmin - Web based MySQL browser written in php
#
# Allows only localhost by default
#
# But allowing phpMyAdmin to anyone other than localhost should be considered
# dangerous unless properly secured by SSL
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
Order deny,allow
# deny from all
Allow from 127.0.0.1
Allow from ::1
</Directory>
# This directory does not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
#
<Directory /usr/share/phpMyAdmin/libraries>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
<Directory /usr/share/phpMyAdmin/setup/frames>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
<Directory /usr/share/phpMyAdmin/setup/lib>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
# This configuration prevents mod_security at phpMyAdmin directories from
# filtering SQL etc. This may break your mod_security implementation.
#
#<IfModule mod_security.c>
# <Directory /usr/share/phpMyAdmin>
# SecRuleInheritance Off
# </Directory>
#</IfModule>
Plz help...