Questions tagged [http-status-code-403]

403 Forbidden: The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.

The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.

236 questions
2
votes
1 answer

How can I deny from a certain IP address but still show a custom error page with Apache2?

I have In my web root /home/www/ I have an .htaccess file to ban IP addresses: order allow,deny deny from 1.2.3.4 deny from 2.3.4.5 allow from all ErrorDocument 500 /errors/500.htm ErrorDocument 403 /errors/403.htm I have also tried it this way…
cwd
  • 2,763
  • 9
  • 33
  • 48
2
votes
2 answers

Getting a "403 access denied" error instead of serving file (using django, gunicorn nginx)

Getting a "403 access denied" error instead of serving file (using django, gunicorn nginx) I am attempting to use nginx to serve private files from django. For X-Access-Redirect settings I followed the following…
Finglish
  • 135
  • 1
  • 1
  • 7
2
votes
2 answers

CentOS Apache: basic auth returning 403 instead of 401

I have three dirs in /var/www/html, one of them has .htacces with following: Order Allow, Deny Allow from all AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/null AuthName 'lalalal' AuthType Basic Require user lala When sending request to that…
2
votes
1 answer

403 forbidden from apache2

I know this question gets asked a lot but none of the answers have solved my problem. I have the same configuration on my work computer but it's not working at home! First I pulled from my git repository into ~/proto-spa. Then I installed apache2. I…
Samo
  • 223
  • 2
  • 10
2
votes
1 answer

Apache 403 forbidden

I have VirtualHost with DocumentRoot "/home/blogs/domain.com" ServerName domain.com ServerAlias www.domain.com ServerAdmin admin@domain.com DocumentRoot "/home/blogs/domain.com"
Kirzilla
  • 563
  • 3
  • 9
  • 21
2
votes
1 answer

Set maximum requests per IP in IIS7

I have a web site deployed to IIS 7. One page it is has 15+ .js files linked to it. Last two files referenced in tag (loaded last) get 403 forbidden response from server. I have enabled FailedRequestTracing and have been able to see a…
Maxim V. Pavlov
  • 663
  • 3
  • 11
  • 29
2
votes
1 answer

Custom 403 Error page not showing

I want to restrict access to certain folders (includes, xml and logs for example) and so I've given them 700 permissions, and all files within them 600 permissions. Firstly, is this the right approach to restrict access? I have a .htaccess file in…
2
votes
1 answer

Apache serving files from an encrypted drive returns a 403 forbidden error

I create a sparsebundle and mount it as a virtual drive for each development project I work on. This works great until I needed to add encryption to one of the projects for added security of my client's files. When encryption is on Apache returns a…
2
votes
1 answer

403 forbidden error going through aws load balancer

I am running an IIS 7 Server behind an AWS load balancer. I am using a Verisign SSL certificate which is installed properly but whenever I put in the URL, or the DNS name of the load balancer I get a 403 error: error 403 - forbidden: access is…
2
votes
3 answers

403 error when trying to access webroot

I was messing around with virtual hosts and now I'm getting a 403 error when trying to access files on the webroot. Here's my httpd-vhosts.conf: NameVirtualHost *:80 ServerName localhost DocumentRoot…
liewl
  • 207
  • 2
  • 9
2
votes
1 answer

403 in Response to OPTIONS when updating working copy having full access

There is an SVN repository (single repository) http://example.net/svn The repository contains several projects (directories): http://example.net/svn/Project1 http://example.net/svn/Project2 User has full access to Project1 directory and has no…
2
votes
1 answer

Nginx writes error log entries to access.log

I'm trying to configure fail2ban for 403 errors from Nginx. But for some reason my error.log file is empty and all 403 (and all 4XX, 5XX) errors are going to access.log. However, I checked my config and it looks fine. server { listen 80; …
ihorc
  • 43
  • 6
1
vote
1 answer

Make Apache2.4 send a 403 when incorrect login details are entered instead of the browser asking again

I'm using .htaccess to password protect a file on my webserver. If incorrect login details are entered then the browser just shows the login box again. How can I make the browser send a 403 Forbidden instead?
Tolly
  • 113
  • 3
1
vote
1 answer

Error 403 (access denied) with updated .htaccess file

Im using a plugin for one of my websites which I have updated recently. Since I have updated I get always an access denied message (Error 403) when opening magnalister.php of the plugin. When I replace the new .htaccess file with the old one I have…
TmCrafz
  • 139
  • 1
  • 9
1
vote
1 answer

403 Forbidden Errors with IIS Performance and Caching Configuration

I have recently moved from a managed server to AWS running Windows 2012 R2 with IIS 8.5. When I first open any website on my server or do a hard refresh, everything seems to be okay - no major concerns in the console and everything works as…
Adam
  • 41
  • 6