Posted by:
Sebastian B.
(---.impt.uni-hannover.de)
Dear Community,
I transfered the wamp server from a collegues on my pc. Now I have to change the allow permission. My company work in a domain so i want create a permission for this domain or for an exactly ip range.
I m using Windows 8.1 64 bit, Apache 2.4.9, PHP 5.5.12, mySQL 5.6.17.
Server is still working. Green Button
At the moment the code look like this:
<Directory "d:/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# [
httpd.apache.org]
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
#PT
Order Deny,Allow
Deny from all
#PT-Computer
Allow from xxx.xx.110.46
#SB-Computer
Allow from xxx.xx.110.47
#AK-Computer
Allow from xxx.xx.110.66
#DK-Computer-1
#Allow from xxx.xx.110.62
#DK-Computer-2
#Allow from xxx.xx.110.1
#IMPT Domain
#Allow from xxx.xx.110.
#End PT
# onlineoffline tag - don't remove
Require all granted
</Directory>
Allow from xxx.xx.110. works but I dont like this solution. Cause I think that we are just have the ip´s 1 to 250 and maybe another group have the rest in this ip section.
I try to find an answer in the internet but i can´t find a solution. I´m trying some combination of xxx.xx.110.1/250 and 1-250. I also try dthe combination with ".domain" but it still not work.
Greetings from Germany
Edited 1 time(s). Last edit at 12/17/2015 09:06AM by Sebastian B..