The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [mod-authz-host]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

Require local Apache directive not working on AWS EC2 instance

I have an Apache 2.4 VirtualHost on an AWS EC2 instance with the following config: <Directory /srv/www/example.org> Require ip [REDACTED] # Office IP Require local </Directory> ...
0
votes
0answers
19 views

401 error site loads even if I successfully authorize

I am using the following .htaccess which has multiple functions. 1. show authentification box before a user can enter my website 2. add www to URL if URL starts without 3. Always redirect to `index....
2
votes
2answers
173 views

htaccess - Allow viewing of index.html via www.example.com/foo instead of www.example.com/foo/index.html

So I have a hypothetical folder on my website protected by Deny from all on my .htaccess file. I have coded an exception as below: <files index.html> order allow,deny Allow from all </files&...
0
votes
1answer
132 views

Apache, mod_authz_host, ineffective 'Allow from' clause

I am trying to restrict access to a part of my website to only a specific machine within the local network using mod_authz_host. https://httpd.apache.org/docs/2.4/mod/mod_authz_host.html My config ...
2
votes
1answer
8k views

Apache 2.4: Allow access to directory only for ip address range

I want allow access to /htdocs/reserved/ directory only for ip addresses from 192.168.1.193 to 192.168.1.254 (.193 --> .254). I have written this code in httpd.conf: <Directory /htdocs/reserved/&...
0
votes
1answer
1k views

Basic Auth apache 2.2 bypass IP

how can set the basic auth of apache 2.2 to bypass IP? I have follow this wiki http://wiki.apache.org/httpd/BypassAuthenticationOrAuthorizationRequirements , but ask always a password, also to IP ...
0
votes
1answer
130 views

Network Related Apache 2.4 403 Authz Error AH01630

I've never seen this style of behavior before. If I access this site on most networks it works. However if I am on-site of the client I cannot pull up the site. TWC Home, works fine. ATT Cell Data, ...
0
votes
1answer
85 views

Apache httpd: How can I Deny from all, Allow from subnet without the ip address range being known before hand?

I am running REHL 6.7 with the stock Apache httpd-2.2. I have enabled mod_status at the Location /server-status. I would like to allow access to this single Location in the following way: Deny from ...
0
votes
2answers
845 views

Apache 2.4 - How to restrict traffic (by IP address) to all requests except the base path?

I have a collection of debugging scripts in /var/www that display useful information that helps with investigating issues on the server, however that same information is potentially sensitive, so I do ...
3
votes
1answer
27k views

apache2.4 virtual host blocking access with authz_core log, even though authz not configured

So I'm getting 403: Forbidden errors on one of my apache2.4 virtualhosts. What's interesting, is that /var/log/apache2/error.log reports: authz_core:error] [pid 4878:tid 140394394269440] [client 10....
3
votes
2answers
4k views

Can you use wildcards in Subversion's Path Based Authorization?

Subversion info: Collabnet Subversion Edge 3.2.2 SVN Version: 1.8.0 Apache HTTP Server 2.4.4 Using mod_authz_svn, no ldap What I'm trying to do is allocate access of a Subversion project to all ...
1
vote
1answer
1k views

Apache restrict domain [duplicate]

I would like to configure Apache (2.2)to restrict what domains users can access e.g. if apache FQDN is myapache.myfunnydomain.com then apache will only allow requests to resources in .myfunnydomain....
0
votes
1answer
45 views

Apache - protect particular http patterns

I want to restrict certain domains from accessing services on my app server. For example; mydomain.com/sensitiveInformationServlet I want to create a filter on my Apache server which will match all ...
3
votes
2answers
1k views

From SVN to GIT: Something similar to authz?

We currently have an SVN repository setup and want to switch over to GIT, but we're currently not sure what exact GIT setup will work for us. We're currently using SVN (w/ Authz) + Apache (w/ WebDAV &...
26
votes
3answers
98k views

Apache httpd: How can I Deny from all, Allow from subnet, but Deny from IP within that subnet?

I am running CentOS 5.5 with the stock Apache httpd-2.2.3. I have enabled mod_status at the Location /server-status. I would like to allow access to this single Location in the following way: Deny ...
12
votes
3answers
22k views

Apache, use X-Forwarded-For for allow

How can use X-Forwarded-For headers(my proxy ip 10.1.1.x) to allow HTTP query?