Hi,
The Solution for this issue is :
You need to edit the file httpd-xampp.conf and location for it is cd /opt/lampp/etc/extra/
1. Run the following command:
[root@demo ~]# vi /opt/lampp/etc/extra/httpd-xampp.conf
the file will open , go to the end of file which will look like below
- Code: Select all
#
# New XAMPP security concept
#<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
You need to change it like below:
- Code: Select all
# New XAMPP security concept
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Allow from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
Means you need comment out the line <LocationMatch and make Deny for all to Allow for all
2. The restart the xampp for this command is below
/opt/lampp/lampp restart
This is all !
Now you can access the xampp on web like you can access with IP.
http://192.168.10.1/Thanks
Admin_Aksh