Forum Moderators: phranque
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from localhost 127.0.0.1
Allow from localhost 123.123.123.123
Allow from localhost 123.123.123.124
</Directory>
Is there a character I can use for wildcards? I already tried 123.123.* to let a certain ISP gain access but that didn't work....
Cheers in advance.
Deny from 123.45 That should work for your ISP application.
For others, you can use SetEnvIfMatch to set an environment variable for testing by Allow or Deny directives, allowing you to use regular expressions for pattern matching:
SetEnvif Remote_Addr ^123\.45\.[3-5]\. allowem
...
Order Deny,Allow
Allow from env=allowem
Jim