New XAMPP security concept Error

I Installed Xampp on CENTOS 6.2 and while accessing PHPmyadmin got the following error:
New XAMPP security concept:Access to the requested object is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".

If you think this is a server error, please contact the webmaster.
Error 403
localhost

Solution:
1) Open httpd-xampp.conf which is at /opt/lampp/etc/extra/
2) Find <Directory "/opt/lampp/phpmyadmin">
3) Now just add Require all granted before </Directory>
4) So the code will look like this
<Directory "/opt/lampp/phpmyadmin">
  AllowOverride AuthConfig Limit
  Order allow,deny
  Allow from all
  Require all granted
</Directory>
4) Now finally Restart the xampp with this command /opt/lampp/lampp restart

If error persists then : 

 your-xampppath\apache\conf\extra open file= httpd-xampp.conf and fint the below tag
# Close XAMPP sites here
<LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Deny from all
    Allow from ::1 127.0.0.0/8 
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
and add
"Allow from all"
after Allow from ::1 127.0.0.0/8 {line}
restart xampp and you are done !!!!

Comments

  1. Thanks alot.....yar..finally i found the solution...

    ReplyDelete
  2. Nice stuff, it was nice to see this article about Xampp. It was really appreciable. Thank you so much for sharing such an informative article about - how to change port number in xampp server

    ReplyDelete

Post a Comment

Popular posts from this blog

Scan FC LUN's in RHEL/CentOS

CEPH bluestore using ceph-ansible

Start wildfly service with standalone-full.xml