XAMPP package is installed in system with Apache, PHP, MySQL. when open phpmyadmin in remote system getting an error “Access forbidden!” unfortunately.
Errors :
Also analyzed in Xmapp log using tail command
tail -f /opt/lampp/log/error_log
[Wed Jun 02 05:19:53.251031 2013] [authz_core:error] [pid 2982] [client 192.168.0.100:45617] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
Solution:
Open the http-xampp.conf file and add below two lines in the configuration file.
AllowOverride AuthConfig Limit
Require all granted
Require all granted
Open the configure file in any text editor (vi, vim),
vi /opt/lampp/etc/extra/httpd-xampp.conf
AllowOverride AuthConfig Limit
Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
Save a file with wq!
Finally! Restart the lampp
# /opt/lampp/lampp restart
Restarting XAMPP for Linux 1.8.3-4...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Restarting XAMPP for Linux 1.8.3-4...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
http://192.168.0.100/phpmyadmin
Comments (0)