Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

15
votes
5answers
24k views

Apache: Isn't chmod 755 enough to set up symlink or alias on Apache httpd on Mac OS 10.5?

On my Mac OS 10.5 machine, I would like to set up a subfolder of ~/Documents like ~/Documents/foo/html to be http://localhost/foo. The first thing I thought of doing is using Alias as follows: Alias ...
7
votes
4answers
40k views

CentOS Apache HTTPD Configuration (403 Forbidden)

This is what i have in my httpd.conf <VirtualHost *:80> ServerAdmin spero78@spero78.com ServerName mcmoddr.com ServerAlias www.mcmoddr.com DocumentRoot /home/...
6
votes
3answers
4k views

403 forbidden while submitting a POST request with image data via iPhone application

I am creating an iOS application which allows users to send image/text data to my webserver via a POST request. I am successfully sending POSTs to the server when image data is not included in the ...
5
votes
1answer
865 views

Apache serves some files, others get 403

I've just setup a CentOS 5.5 install with Apache and Mapserver. While trying to do the tutorial for mapserver, I've found that Apache returns 403 forbidden when accessing any of the tutorial files, ...
5
votes
2answers
22k views

Why would an .htaccess file result in 403 Forbidden when the only line is “Allow from all”?

I'm running a server: Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g Without a .htaccess file, everyone can access the web content. However, I add a .htaccess file with the following content: ...
5
votes
3answers
9k views

Apache “No Permission” - 403 forbidden

I've accidentally performed a wrong chown update this morning and now my /var/www permissions are all wrong. I'm unable to access anything anymore, apache will always say I do not have permission to ...
5
votes
4answers
14k views

SVN Server stopped working properly (403 Forbidden)

Ok, first of all, I've already googled a lot about this problem, but didn't found any solution... I've searched here and on ServerFault, but didn't found anything, so I end up posting this question ...
4
votes
1answer
25k views

Nginx doesn't have permission to access files with the same ownership

i've just installed nginx on an Archlinux box and encounter this problem: Nginx is configured to run as "nginx", a new user/group that I added, in /etc/nginx/nginx.conf: user nginx nginx; For ...
4
votes
3answers
14k views

Why am I getting Network error: 403 Forbidden in firebug for files I am not trying to access?

QUESTIONs I'd like to know why I am getting Network error: 403 Forbidden in firebug for files that I am not trying to access? is it likely to cause any serious problems on the webserver? how to fix ...
4
votes
1answer
22k views

Squid 403's every request as an HTTP proxy

So I am trying to setup a squid as an HTTP proxy. This proxy is for testing purposes only and on an internal network, unreachable from outside. I can connect to the proxy fine, but Squid 403's every ...
4
votes
1answer
3k views

How can I make apache give the config file path and line number for a 403 error

I'm running Apache 2.4.7 on debian unstable. I'm getting 403 errors when I try to run supysonic using the mod_wsgi module. I turned the LogLevel for wsgi and authz_core up to trace6, but I'm still ...
4
votes
2answers
2k views

Webmin apache on CentOS 6.3 results in 403 forbidden, permissions are OK

First of all, I will mention that the permissions are fine for the document root directory, which is /webapps/nimbus/www/public_html The www directory contains a PHP application. PHP is a problem ...
4
votes
1answer
17k views

yum repo responding with [Errno 14] HTTP Error 403 - Forbidden

I am trying to set up a YUM repository containing some RPM packages from our nightly Jenkins build. The YUM repo resides on the Jenkins server in a repository folder [path to repo]/jenkins-nightly-...
4
votes
1answer
39k views

How to fix access to the requested resource which has been denied for Tomcat webapp?

I have installed Tomcat in my machine and it is running fine. I am able to login to the administration manager. I have deployed a .war file which can be viewed on the Tomcat manager. The name of the ...
4
votes
2answers
3k views

403 with Apache and Symfony on Ubuntu 10.04

I'm trying to run symfony on my apache installation (I'm using xampp for the whole package) and it keeps giving me a 403 error every time I try to access my website. I've got vhosts set up with the ...
3
votes
2answers
21k views

403 Forbidden when trying to access Nginx

I've just got a new server and want to try some other things. Like Nginx instead of Apache. So, installed nginx, got the Welcome page, installed php5-fpm and download a Wordpress to give a try. But, ...
3
votes
1answer
7k views

nginx 403 when serving static files + reverse proxy

I'm trying to serve a node app through nginx, but first attempt to serve static files that may be in a /public folder. I've got that much working -- but when accessing domain.tld/ or the index of ...
3
votes
2answers
32k views

How to solve “403 Forbidden” on CentOS6 with SELinux Disabled?

I have a machine on Linode that is driving me crazy. Linode does not have SELinux on CentOS6. I'm trying to configure to put my website in /home/websites/public_html/mysite.com/public. As I don't ...
3
votes
1answer
768 views

Adding empty .htaccess gives 403 error

When I add an empty .htaccess file to server root (touch .htaccess) I get a 403 error. The samme error appears no matter what I put in the file (I've tried specifying <LIMIT> directives etc). ...
3
votes
1answer
902 views

Cron Daemon Wget blocked

I've got nginx on Debian 7 without cpanel. I am seting-up my Crontab like this: */45 * * * * wget "http://example.com/cron-url.php" >/dev/null 2>&1 The above cron is being blocked with ...
3
votes
3answers
3k views

Hide Physical Path in IIS HTTP Error

Is it possible the hide the below physical path from IIS server..? When someone try to enter the URL with folder name that time below error raiser in browser : For Eg : https://MyDomainAddress/JS
3
votes
0answers
2k views

nginx deny ip - access forbidden by rule in error log

We having blocked some bad bots which relentlessly try to access our site via "Deny" directives in NGINX. It's not possible for us to block it at the firewall, as we use a load balancer that we have ...
2
votes
1answer
306 views

Apache 403 forbidden

I have VirtualHost with DocumentRoot "/home/blogs/domain.com" <VirtualHost domain.com:80> ServerName domain.com ServerAlias www.domain.com ServerAdmin admin@domain.com DocumentRoot "/home/...
2
votes
3answers
17k views

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: <VirtualHost *:8080> ServerName website.com ServerAlias www....
2
votes
1answer
2k views

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 ...
2
votes
2answers
1k views

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 ...
2
votes
3answers
502 views

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 <VirtualHost *:80> ...
2
votes
1answer
492 views

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 ...
2
votes
2answers
4k views

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/. ...
2
votes
1answer
1k views

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 ...
2
votes
1answer
1k views

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 ...
2
votes
2answers
1k views

nginx suddenly redirecting everything to 403 page, can this be debugged or traced?

I'm not sure what happened to my nginx install. Suddenly all page requests are being redirected to the 403 page. Yesterday I tried to add a user agent to block, restarted service from that point ...
2
votes
2answers
412 views

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 ...
2
votes
1answer
7k views

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 ...
2
votes
1answer
475 views

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'...
2
votes
3answers
22k views

Sharepoint error 403 access forbidden

I am new to sharepoint and after creating a new web application this is what i'm getting - The website declined to show this webpage HTTP 403 Most likely causes: •This website requires you to ...
2
votes
1answer
775 views

NginX - allow - custom error page

This is rather interesting Guys! I have the following code in one of my webapplications NginX configuration: location /login { #access_log off; proxy_pass https://public; ...
2
votes
1answer
878 views

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

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 ...
2
votes
3answers
2k views

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 ...
2
votes
1answer
2k views

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 ...
2
votes
1answer
7k views

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 ...
2
votes
3answers
25k views

Problems with apache svn server (403 Forbidden)

Iv recently setup a SVN server on my papache webserver. I installed USVN http://www.usvn.fr/ to help manage the repositories from a web interface. When I create a repository and try to import code ...
2
votes
1answer
504 views

Is it possible to set the Status-Line header with Apache's Header directive?

My searches have turned up blank... I'm trying to change the 403 Forbidden status of the response to a 404 Not Found status with this line: Header set Status-Line "HTTP/1.1 404" "expr=%{...
2
votes
5answers
5k views

403 Forbidden nginx (nginx/1.8.0) [closed]

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-...
2
votes
1answer
488 views

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 ...
2
votes
1answer
2k views

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 ...
1
vote
2answers
10k views

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 ...
1
vote
2answers
757 views

403 Forbidden on files with different names but identical content and permissions [duplicate]

I'm running CentOS 6.3 and Apache 2.2.15. I'm using the defaults setup for apache. The files I'm serving are in /var/www/html Here are two of them [root@gisele html]# ls -l *-production-1.0.6....
1
vote
2answers
1k views

Apache 403 - looking .htaccess in parent's parent directory

I am having this problem (apache2, ubuntu 12.04) I have put all my sites in /home/username/vhosts folder I have added permissions to home and username to be x and chmod -r 777 on vhosts Added /etc/...
1
vote
1answer
9k views

Nginx-Always return 403 status code

I'm trying to get Nginx to return a simple webpage, but always with an http status code of 403. For some reason, I just can't get it to work. I have two files in /var/www/html/: index.html photo.jpg ...