Xampp Security concept
Posted: 07. April 2015 11:18
Hello,
So i succesfully deployed XAMPP in my local network now i want to set up security concept to :
- Only localhost with XAMPP can have access to all admin stuff IP 192.168.1.101
- All local network can run apps/pages from this XAMPP server. 192.168.1.102 to 110
Right now i'm away from my server, so i can't test my idea, but i want to ask you as more experienced users if it will work.
So in my in my idea, config file should look like this :
#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Allow from 192.168.1.101
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
<LocationMatch "^/(?i:(?:xampp))">
Allow from 192.168.1.96/255.255.255.240
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
What do you guys think?
So i succesfully deployed XAMPP in my local network now i want to set up security concept to :
- Only localhost with XAMPP can have access to all admin stuff IP 192.168.1.101
- All local network can run apps/pages from this XAMPP server. 192.168.1.102 to 110
Right now i'm away from my server, so i can't test my idea, but i want to ask you as more experienced users if it will work.
So in my in my idea, config file should look like this :
#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Allow from 192.168.1.101
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
<LocationMatch "^/(?i:(?:xampp))">
Allow from 192.168.1.96/255.255.255.240
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
What do you guys think?