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.

Filter by
Sorted by
Tagged with
14 votes
5 answers
26k 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 ...
Eugene Yokota's user avatar
12 votes
1 answer
54k 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 ...
Lamnk's user avatar
  • 1,105
8 votes
6 answers
62k views

CentOS Apache HTTPD Configuration (403 Forbidden)

This is what i have in my httpd.conf <VirtualHost *:80> ServerAdmin [email protected] ServerName mcmoddr.com ServerAlias www.mcmoddr.com DocumentRoot /home/...
Patt-tom McDonnell's user avatar
8 votes
3 answers
7k 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 ...
Scott Johnston's user avatar
7 votes
4 answers
34k 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-...
scottysseus's user avatar
6 votes
2 answers
43k 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: ...
hughes's user avatar
  • 161
6 votes
3 answers
5k 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 ...
binnyb's user avatar
  • 61
5 votes
3 answers
13k 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
BGS's user avatar
  • 151
5 votes
1 answer
2k 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, ...
djlumley's user avatar
  • 153
5 votes
3 answers
11k 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 ...
Jelle De Loecker's user avatar
5 votes
2 answers
77k 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 ...
user avatar
5 votes
4 answers
15k 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 ...
empz's user avatar
  • 247
4 votes
3 answers
15k 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 ...
TryHarder's user avatar
  • 286
4 votes
1 answer
34k 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 ...
Snaxib's user avatar
  • 175
4 votes
1 answer
10k views

Nginx redirect all 403 to 404?

I'm trying to get 403 responses to be exactly identical to 404 ones. Not sure if there's a proper way to do it, but setting error_page 403 404 is my current method. Which works, but it rewrites the ...
House3272's user avatar
  • 189
4 votes
3 answers
27k views

Lighttpd static file server 403 forbidden error

I installed lighttpd on Debian Jessie for serving static files, I have a USB drive mounted at /media/storage, with /media/storage/www as my document root and my lighttpd.conf looks like this: server....
Superpelican's user avatar
4 votes
1 answer
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 ...
Brian Minton's user avatar
4 votes
2 answers
3k 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 ...
MarioDS's user avatar
  • 223
4 votes
2 answers
4k 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 ...
Dominic Santos's user avatar
3 votes
1 answer
10k 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 ...
Mike Shito's user avatar
3 votes
2 answers
23k 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, ...
Axiol's user avatar
  • 173
3 votes
3 answers
33k 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....
Shahar Galukman's user avatar
3 votes
2 answers
35k 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 ...
André's user avatar
  • 181
3 votes
1 answer
1k 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). ...
o01's user avatar
  • 249
3 votes
1 answer
1k 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 ...
Neel's user avatar
  • 1,451
3 votes
1 answer
6k 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; ...
Bert's user avatar
  • 1,048
3 votes
2 answers
2k 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 ...
ProfessionalAmateur's user avatar
3 votes
3 answers
27k 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 ...
lanrat's user avatar
  • 747
3 votes
1 answer
976 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=%{...
BreakingFingersOnApache's user avatar
3 votes
3 answers
9k views

Jenkins Server throws 403 while accessing rest api or using jenkins java client to create job

I am trying to create a job on Jenkins using java client (https://github.com/jenkinsci/java-client-api) by calling .createJob(String jobName, String configXml) . However, Jenkins server throws 403 ...
Kumar's user avatar
  • 211
2 votes
2 answers
14k 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 ...
mindmischief's user avatar
2 votes
1 answer
353 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 [email protected] DocumentRoot "/home/...
Kirzilla's user avatar
  • 573
2 votes
1 answer
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 ...
w0rldart's user avatar
  • 217
2 votes
2 answers
2k 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 ...
mkvcvc's user avatar
  • 125
2 votes
3 answers
656 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> ...
liewl's user avatar
  • 217
2 votes
1 answer
2k views

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 ...
ihorc's user avatar
  • 43
2 votes
1 answer
2k 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 ...
Mikhail T.'s user avatar
  • 2,347
2 votes
2 answers
22k views

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 "...
Mike S's user avatar
  • 1,155
2 votes
2 answers
5k 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/. ...
bwDraco's user avatar
  • 1,644
2 votes
1 answer
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 ...
Samo's user avatar
  • 223
2 votes
3 answers
4k views

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 ...
Samm's user avatar
  • 41
2 votes
1 answer
2k 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 ...
Louise Helen's user avatar
2 votes
2 answers
631 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 ...
chris's user avatar
  • 21
2 votes
1 answer
4k views

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 <head> tag (loaded last) get 403 forbidden response from server. I have ...
Maxim V. Pavlov's user avatar
2 votes
1 answer
11k 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 ...
Rahul Sekhar's user avatar
2 votes
1 answer
521 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'...
puppybits's user avatar
  • 145
2 votes
3 answers
31k 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 ...
user avatar
2 votes
1 answer
1k 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 ...
AnD's user avatar
  • 171
2 votes
5 answers
9k 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-...
JennyElf's user avatar
2 votes
1 answer
6k views

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 ...
Gmeister4's user avatar
  • 129

1
2 3 4 5