Questions tagged [http-status-code-403]

The 403 or "Forbidden" error message is a HTTP standard response code indicating that the request was legal and understood but the server refuses to respond to the request.

A 403 Forbidden may be returned by a web server due to an authorization issue or other constraint related to the request. File permissions, lack of encryption, and maximum number of users reached (among others) can all be the cause of a 403 response.

2271 questions
5
votes
0 answers

php-fpm apache2 403 error on .css .js files

I'm trying to setup an apache2 server on debian jessie with multiple vhosts. I want each one of them to have a different FastCgiExternalServer. I'm using the php version from php5-fpm package on jessie with default /etc/php5/fpm configuration…
Jbb
  • 483
  • 3
  • 15
5
votes
1 answer

CORS filter gives 403 in POST only in Chrome

I have following configuration in Tomcat. I get 403 error when making POST requests from my local machine browser to remote server. I use EASYUI JQuery components, and they work fine on IE10+ and Firefox! Only chrome is complaining this. Can any one…
5
votes
4 answers

Safari - https 403 Forbidden Access Denied

When I try to navigate to a certain https webpage with safari browser, I get a 403 forbidden access denied Server Error. With all the other browsers I get the page displayed without problems. I have searched the web for a solution but I could not…
EngelbertCoder
  • 777
  • 2
  • 9
  • 29
5
votes
2 answers

Cors Blocks Request with status 403 on Nginx

I am facing a strange issue with running CORS on Nginx, CORS is working fine for everything but one scenario when the Server responds with a 403 http response. Basically when I login with correct credentials the cors request works fine , however…
Sameer
  • 511
  • 1
  • 4
  • 14
5
votes
2 answers

OpenURI::HTTPError: 403 Forbidden

i'm using wikipedia-api plugin for get content's pages from wikipedia. From some days i receive this error when i try to get the contents: page = Wikipedia.find_by_titles('Foo') OpenURI::HTTPError: 403 Forbidden from…
Luca Romagnoli
  • 12,145
  • 30
  • 95
  • 157
5
votes
1 answer

Safari video element doesn't trigger error event on 403 response

I'm trying to load a video from S3 that may or may not be transcoding at the time. While it's still processing, I get a 403 response. Every other browser I test (Chrome/Firefox/IE) triggers the "error" event so I can display a message to the user…
5
votes
2 answers

trigger 403 in php so that it shows the ErrorDocument

recently I set up custom-made error documents for my server. I started with a 404 page and this works like a charm: file not found automatically shows the specified 404.php page. However, with 403 I have some trouble. I set it up the same way, but I…
Kolja
  • 860
  • 4
  • 10
  • 30
5
votes
1 answer

What does mean "authorization will not help" in the HTTP spec for error 403?

The HTTP 1.1 spec says: 10.4.4 403 Forbidden The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. [...] Does this mean only "basic authorization", as in…
5
votes
4 answers

Is it really possible to hack the a forbidden web browser area that throws a 403 error?

I am not asking how. I am asking if. Is it possible to bypass a 403 error on the web? Let me explain a bit in detail. On a web server the IIS has set up a directory for a project we are such that it is not accessable to the outside. So if you…
xarzu
  • 8,657
  • 40
  • 108
  • 160
5
votes
2 answers

Recieving a 403 forbidden error when using latitude and longitude: geocoding

Our site has the option to insert your postcode in, which in turn works with geocoding to work out the latitude and longitude. This code has not been changed for years but today if the user trys to insert a postcode or update it from yesterday or…
Jason
  • 213
  • 1
  • 4
  • 15
5
votes
1 answer

ImageIO.read() returns 403 error

I have the following code: public BufferedImage urlToImage(String imageUrl) throws MalformedURLException, IOException { URL url = new URL(imageUrl); BufferedImage image = ImageIO.read(url); return image; } That is supposed to return an…
Majid Laissi
  • 19,188
  • 19
  • 68
  • 105
5
votes
5 answers

How to avoid 403 error for image URLs in (local) Wordpress via XAMPP on Windows?

Windows XP SP3 - Xampp 1.8.1 - PHP 5.4.7 - WordPress 3.5.1 - (all drives use NTFS) I think my problem is similar to this one but these solutions seem only suitable for Unix-like OSs. I'm running Wordpress via XAMPP on Windows XP (SP3) and some (but…
RubenGeert
  • 2,902
  • 6
  • 32
  • 50
5
votes
1 answer

HTTP 403 error retrieving robots.txt with mechanize

This shell command succeeds $ curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 (compatible;)" http://fifa-infinity.com/robots.txt and prints robots.txt. Omitting the user-agent option results in a 403 error from the…
Moshev
  • 556
  • 6
  • 14
5
votes
1 answer

Amazon S3 crossdomain.xml always shows 403 Forbidden

I am using plupload to upload files directly to Amazon S3. I added crossdomain.xml file into Amazon.When I try the sample code given in plupload to upload files to S3 I am getting GET http://xxxx.s3.amazonaws.com/crossdomain.xml 403 (Forbidden)…
Damodaran
  • 10,882
  • 10
  • 60
  • 81
5
votes
1 answer

Sporadic 403 "CSRF FAILURECSRF cookie not set" errors with django

We have a small site that is just starting to be exposed to the outside world. For the most part it is working very well but we are occasionally getting 403 errors with the message "CSRF FAILURECSRF cookie not set" from one of the forms. The form…
brandon
  • 427
  • 3
  • 12