You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Harald Dunkel <ha...@afaics.de> on 2017/08/05 16:28:27 UTC

[users@httpd] Require local_subnet

Hi folks,

I would like to introduce access restrictions to some Direc-
tories based on the local subnet, similar to "Require local", 
but looking at the currently assigned IPv6 prefix instead of 
the local IP addresses. 

Is this possible? I haven't found this feature documented or 
requested in the bug tracker, but maybe I was too blind to 
see.

A static subnet configuration is not an option. I wouldn't
like to edit the apache config file again and again on each
new prefix delegation. And supporting site-local IP addresses
would imply a huge change in the infrastructure.


Every helpful comment is highly appreciated
Harri

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Require local_subnet

Posted by Alexandru Duzsardi <al...@pitechnologies.ro>.
I don't know if that's possible or a feature available in apache.
You could however create a separate file that you can edit quickly to add
your networks
and just use it as a include file where you want it
https://httpd.apache.org/docs/2.4/mod/core.html#include
or may get fancy or complement with some expressions ?
https://httpd.apache.org/docs/2.4/expr.html

-----Original Message-----
From: Harald Dunkel [mailto:harri@afaics.de] 
Sent: Saturday, August 5, 2017 7:28 PM
To: users@httpd.apache.org
Subject: [users@httpd] Require local_subnet

Hi folks,

I would like to introduce access restrictions to some Direc- tories based on
the local subnet, similar to "Require local", but looking at the currently
assigned IPv6 prefix instead of the local IP addresses. 

Is this possible? I haven't found this feature documented or requested in
the bug tracker, but maybe I was too blind to see.

A static subnet configuration is not an option. I wouldn't like to edit the
apache config file again and again on each new prefix delegation. And
supporting site-local IP addresses would imply a huge change in the
infrastructure.


Every helpful comment is highly appreciated Harri

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org