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 to tell Apache to reply with 403 instead of 401?

We have some rules for a subtree of Locations, which involve Require-ing ldap-group and expr-s. The user is duly challenged to supply login-credentials, which are verified. However, even when the credentials are correct and the access is denied due…
Mikhail T.
  • 2,338
  • 1
  • 24
  • 55
2
votes
3 answers

Directory listing isn't working on nginx showing 404 error

So I was trying to setup directory listing on my server with nginx, I followed the instructions step-by-step but nothing worked out -- always showing either 403 or 404 errors while permissions are all set to 755... When I enable autoindex on the…
Samm
  • 41
  • 1
  • 6
2
votes
1 answer

Some IP addresses getting security or 403 errors when trying to access the site

I co-own a charity forum that gives support to people in crisis (mental health, self harm, suicidal thoughts etc) Our webmaster left in a bit of a snit a month and a half ago and I have been struggling since. This morning suddenly some of my members…
2
votes
1 answer

index.php 403 in Drupal on centos 7 with SELinux enabled

i tried to install drupal on centos, i have configure my server (install httpd, mysql, php, etc) everything looks good until the last part: hit the url to install drupal the problem here is once i hit the url/ip addr it return me 403 forbidden. but…
AnD
  • 171
  • 2
  • 11
2
votes
2 answers

iis 8 - 403 access is denied

I have a Windows 2012r2 server running IIS 8 on a virtual machine. I set up two sites and pointed them to the D: drive. d:\data\site1 d:\data\site2 and it was working, or so I thought. I originally set up /site2 first to test basic functionality,…
mindmischief
  • 172
  • 2
  • 2
  • 9
2
votes
5 answers

403 Forbidden nginx (nginx/1.8.0)

I've just got a new server in DigitalOcean and want to try some other things. I want to start a wordpress site so I follow the first 1-3 steps from here: https://deliciousbrains.com/hosting-wordpress-yourself-nginx-php-mysql/. At first everything…
JennyElf
  • 21
  • 1
  • 2
2
votes
1 answer

403, only via gateway (page acessible directly from origin server locallly and externally)

I'm trying to setup a secondary Apache Server (will eventually become primary only). The working setup was windows XP running Apache 2.2.6 (via Wampserver2) with 8 sites (virtual hosts), all working as expected. I want to upgrade to more modern…
2
votes
1 answer

Nginx Virtual host 403 Forbidden

I have just brought a domain name (example.com) and have setup a URL frame redirection to my server's IP XXX.XXX.XXX.XXX, however I am getting a 403 forbidden error. I can access pages fine via the server IP. What I want is to copy the behavior of…
Gmeister4
  • 129
  • 1
  • 4
2
votes
3 answers

Forbidden (403), when accessing server-status on apache 2.2.22

I'm getting Forbidden error when trying to access www.website.com/server-status mod_status is enabled The VirtualHost: ServerName website.com ServerAlias www.website.com DocumentRoot /var/www/wordpress/ …
Shahar Galukman
  • 207
  • 1
  • 4
  • 11
2
votes
2 answers

Wordpress and Apache 2.4 installation troubles: Cannot Serve Directory

I'm having a devil of a time getting Wordpress going on my webhost. When I try to access my virtualhost, I get a "403 Forbidden You don't have permission to access / on this server." error and a "Cannot serve directory..." error in my error_log (see…
Mike S
  • 1,145
  • 5
  • 22
  • 42
2
votes
2 answers

apache wont follow symlinks | 403 permission denied

im using Ubuntu 14.04, and got problem with apache configuration: i created a Symlink in /var/www/html (the apache DocRoot since Ubuntu 14.04) torwards /home/me/myWebDirectory cd /var/www/html ln -s /home/me/myWebDirectory myWebDirectory but…
2
votes
3 answers

Apache 2.4 - 403 HTTP status code

I'm getting a 403 error message with Apache, in Debian Testing. Apache version: # aptitude show apache2 | grep -i version Version: 2.4.9-1 # ls -la /home/ total 28 drwxr-xr-x 4 root root 4096 Apr 3 13:19 . drwxr-xr-x 23 root root …
2
votes
2 answers

403 statuses on nginx at FreeBSD

I'm trying to switch from an Apache hosting solution to nginx with php-fpm on FreeBSD 9.2. I'm rewriting my script for creating vHosts and stuff for nginx now and get 403 statuses when I try to access the vHost. I'm struggling for hours now and…
chris
  • 21
  • 2
2
votes
2 answers

Subdomains returning HTTP 403 after updating Apache from 2.2 to 2.4

After an operating system upgrade which involved updating Apache from 2.2 to 2.4, I'm now getting 403s trying to access http://files.fierydragonlord.com/ and http://status.fierydragonlord.com/. However, http://www.fierydragonlord.com works. What's…
bwDraco
  • 1,636
  • 2
  • 12
  • 25
2
votes
1 answer

Apache 403 after configuring varnish

I just don't know where else to look and what else to do. I keep getting a 403 error on all my vhosts after setting varnish 3.0 Apacher log: [error] [client 127.0.0.1] client denied by server configuration: …
w0rldart
  • 217
  • 1
  • 2
  • 14
1 2
3
15 16