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.

71 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
3 answers
10k 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
1 answer
564 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 ...
Mike Taylor's user avatar
2 votes
1 answer
11k views

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 ...
ChickenFur's user avatar
1 vote
1 answer
440 views

Trapping misformatted paths to Redirect to 404 instead of returning 403

Owing to an error long ago our company web site has been serving image URLs containing a significant amount of white space. E.g. http://www.example.com/ /assets/ProductPhotos/...
AristotleO's user avatar
1 vote
0 answers
3k views

CloudFront gives 403 error when accessing a web app hosted outside AWS through the configured subdomain

I've been tasked with setting up our web app on CloudFront. Our web app is hosted on an Ubuntu server that is completely outside AWS. I have little to no experience with CDNs, but I've made some ...
fronzee's user avatar
  • 185
1 vote
0 answers
4k views

nginx 403 Forbidden error, no error log. New installation on existing ubuntu 20.04 system

Trying to understand why this new installation of nginx is not serving any files at all. I have a minimal website configuration. (rtmp was working last I checked but that has not been needed in a ...
Dennis 's user avatar
  • 188
1 vote
0 answers
65 views

Why does the content owner needs a CMS account to retrieve revenue data from youtube api?

I am trying to retrieve revenue details from YouTube API from content owner's account (using OAuth) but I am getting the same 403 response. Do the content owner needs a CMS account to retrieve revenue ...
John Moore's user avatar
1 vote
0 answers
663 views

How to hide the IIS 8.5 Header when response code 403.7 is returned?

We have a ColdFusion 11 website, requiring client certificates, running on a publicly accessible Windows Server 2012R2 running IIS 8.5. There is a URL rewrite rule in place to remove the value set in ...
Chris Anderson's user avatar
1 vote
0 answers
157 views

Unexpected 403 errors on a working server

I have an Ubuntu 14.04 LTS server, multiple websites running on it. http://martion.alomvilag.hu is one of them. Site is usually working, but from time-to-time it provides a 403 response and Forbidden ...
Mcload's user avatar
  • 133
1 vote
1 answer
427 views

Trouble with Passenger/Apache2 - Error 403

I need to upgrade my Redmine installation. I'm on a Mac OS X Server 10.6.8 (unfortunately, this is a given - can't update the system to a new version right now). In the process, I had issues with ...
Sebastian Sulger's user avatar
1 vote
0 answers
46 views

Deal with virtualhost activation trouble

Can't have any error log in my apache server. For example, I have a 403 forbidden error when accessing a page with this conf : Alias /nconf /usr/local/nconf/ <Directory "/usr/local/nconf"> ...
Nicolas Frbezar's user avatar
1 vote
0 answers
31 views

Get 403 on an unrestricted location

Got 403 for this page : Alias /nconf /usr/local/nconf/ <Directory "/usr/local/nconf"> Options Indexes AllowOverride AuthConfig Options Order allow,deny Allow from 10.1.1.0/8 <...
Nicolas Frbezar's user avatar
1 vote
0 answers
575 views

Apache rewrite rule 403 error

I'm running Apache 2.2.15 with rewrite_module installed. I have rule in my vhost.conf as follows; RewriteRule \n ^/advanced/selector/profiles/([A-Za-z0-9]+)/?$ \n "/advanced/selector/profiles/...
sauntimo's user avatar
  • 153
1 vote
0 answers
132 views

Troubleshooting 403 gateway error

We have a staging machine that has recently been returning a 403 status. It is a centOS machine running nginx. Nginx passes off some traffic to a scala Play app and Apache which runs a PHP app (...
doub1ejack's user avatar
1 vote
0 answers
498 views

Error 403 on Apache, Fedora 22

I have installed Apache: Server version: Apache/2.4.12 (Fedora) and I got a website with Codeigniter. I added a folder images/ in the root of the site and I couldn't load the images. When I tries the ...
gglasses's user avatar
  • 111
1 vote
0 answers
101 views

HEAD request leads to file name too long

I have a website which frequently posts data from client to server of about 3200 characters. I notice that some users of the site when visiting one page in particular will make a HEAD request with the ...
Jonathan Basile's user avatar
1 vote
1 answer
489 views

Apache: Serve content from files that are restricted

In my Apache setup, I have a directory with my error pages in it (404 403). However, I don't want this directory being viewable directly - I'd like accessing it to return a 404. So what I did was this:...
joshlf's user avatar
  • 119
1 vote
0 answers
437 views

Apache 2.0 ErrorDocument directive does not work when getting root directory itself

I am in charge of a site using Apache 2.0 on Red Hat 4.1.2. I have configured the site to display a custom error page by adding this line to the .htaccess file in the site's root directory: ...
EK0's user avatar
  • 235
1 vote
1 answer
2k views

Why can't I change document root in apache without error?

I'm trying to change my document root in apache so I can start a new project and keep an old one available so I can reference the files. Whenever I try to change the document root, though, I get a 403 ...
David's user avatar
  • 11
1 vote
0 answers
887 views

Enabling mod_fcgid results in 403

I have an EasyPHP 12.1 setup (latest) on Windows 7x64 and I'm trying to enable mod_fcgid for PHP. I have added the following in my httpd.conf Include conf/extra/httpd-vhosts.conf LoadModule ...
laggingreflex's user avatar
1 vote
1 answer
190 views

Recieving 403.4 Error only from a specific server & on speficic files

I have a wierd problem, I've launched a website recently on IIS6, and it is working good, accesible from every computer I've tested. On one network, however, the one's of my client, it is only ...
BenB's user avatar
  • 111
1 vote
1 answer
519 views

IIS7, .NET1.1, aspx page returning 403

I'm trying to set up a web service, used by our software, on a customer's server. The web service requires .NET 1.1 aspx, etc..., as it was written some time ago and will not be re-written. .NET 1.1 ...
SteveC's user avatar
  • 11
1 vote
1 answer
761 views

Passenger not working with SSL on Apache 2

I have a Rails app running on Passenger; It works as expected over unencrypted connections. I also have a working Apache SSL setup; I can access any static file available via http with https. When I ...
Zak's user avatar
  • 111
1 vote
1 answer
1k views

Send Apache request to some form of dev/null, nothing or nowhere

This question I have not been able to get an authoritative answer on, but it's interested me for years: Taking Apache with matching rewrite rules, say: 1 set of matches triggers the 403 Forbidden ...
Lizardx's user avatar
  • 210
0 votes
1 answer
46 views

Opening "/server-status" in Apache2 with a WordPress installation is serving a "403 Forbidden" error response

I have been trying to open "/server-status" in Apache2 on my site that's facilitated by a WordPress installation and it is serving a "403 Forbidden" error response when I attempt ...
Michael Wilmshurst's user avatar
0 votes
0 answers
60 views

phpmyadmin site - 403 Forbidden

I have Try to download latest phpmyadmin 6.x at this url : https://files.phpmyadmin.net/snapshots/phpMyAdmin-6.0+snapshot-all-languages.zip but I have this server error : 403 Forbidden Code: ...
DeltaFoX's user avatar
0 votes
0 answers
123 views

403 FORBIDDEN APACHE django

Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12 mod_wsgi/4.9.4 Python/3.11 Server at localhost Port 80 I am trying to run my django project on my windows machine.. in apache this the configuration i ...
Abhiram T N's user avatar
0 votes
2 answers
493 views

HTTP 403 with CloudFlare

I've added my site to CloudFlare. I'm trying to allow requests to only come in through CloudFlare's network, and reject all others. When I add the following to my .htaccess, I get HTTP 403 Forbidden. #...
anxiety's user avatar
0 votes
0 answers
166 views

CloudFront Access Logs Issue

I was tried querying our CloudFront logs using Athena for an error i'm getting but haven't received any results. The query i'm trying using is: SELECT * FROM cloudfront_logs WHERE request_id = > ...
samtech 2021's user avatar
0 votes
0 answers
968 views

Change Apache root directory to another location

I'm trying to change the default Apache root location /var/www/html to /mnt/datos/mylocation. I also tried to /home/[MY USER]/mylocation, thinking it was related to mounted partition permissions. I ...
Fahed's user avatar
  • 121
0 votes
1 answer
631 views

How to hide restricted nginx subdomains?

To hide a restricted location, e.g. location /secret/ { allow 10.0.0.0/24; deny all; } one could set error_page 403 =404 /404.html; error_page 404 /404.html; to make impossible to distinguish a ...
Polizi8's user avatar
  • 125
0 votes
1 answer
3k views

403 FOrbidden index with nginx

Good evening. I have this error when I try to access my wordpress from my-no-ipdomain:port/danapcu.com (where wordpress it's installed: /var/www/html/danapcu.com). In addition, my nginx default port ...
dan pacu's user avatar
0 votes
0 answers
139 views

Apache Filesmatch regex issue

I'm trying to block all files that contains the keyword cpf and I've entered this into the apache2 configuration: <FilesMatch "cpf.*$"> Require all denied </FilesMatch> and ...
Adam Larsson's user avatar
0 votes
1 answer
729 views

NGINX https not working after I set it up?

I solved it, see my answer below! So I just used certbot to generate an nginx certificate however https:// on my domain doesn't work. It gives me a 403 forbidden error. SSL Configuration: server { ...
SirStopIt's user avatar
0 votes
0 answers
596 views

403 Forbidden caused by AH01630: client denied by server configuration: /data

I am getting this titular error message when following this guide in the Postfix admin section of the tutorial from Apache2's error logs and trying navigate to the website https://mailadmin.example....
sangstar's user avatar
0 votes
1 answer
152 views

Azure Cross Region server to server call fails when Web App is in VNet

I have an web app in EU West Region that calls an API hosted in EU North Region. When I place my Web App in a VNet and call the web app in another region, that I do not control, I get a 403 Ip ...
Morten Lyhr's user avatar
0 votes
2 answers
406 views

Wordpress website suddenly receiving a 403 when trying to load critical files (CSS/JS)

Out of the blue my Wordpress website has stopped loading properly. I've checked the console and it is full of lines similar to this: GET https://teachifyapp.com/wp-content/cache/wpfc-minified/...
Grabgooglesgoogles's user avatar
0 votes
0 answers
2k views

Apache 2.4 use <RequireAll> deny all with local got 403 Forbidden

I have a question in apache 2.4. This is my setting in /etc/httpd/conf.d/vhost-www0.conf <VirtualHost *:80> DocumentRoot "/var/www/virtual" ServerName www0.example.com <...
Okami's user avatar
  • 1
0 votes
1 answer
1k views

Apache Err 403 on static files from a docker volume

I am struggling with staticfiles and, since I'm new to docker and not quite fluent with Apache, I am not sure whether the problem comes from the former or the latter. [the set up] I have a ...
zar3bski's user avatar
  • 133
0 votes
0 answers
3k views

nginx returns 404 although the server is running and log files are being written. In the root it returns 403. Details inside

I'm not a sysadmin, I'm just a vision programmer who's trying to set up his friend's API in a localhost. I'm using nginx, and the config file my friend gave me was this: server { listen **.48....
Major Despard's user avatar
0 votes
0 answers
867 views

Apache won't serve the directory and gives 403 Forbidden error

I've a folder that I want apache to serve. The folder is located under the home directory: /home/mywebsite. This is my apache configuration file: <Directory "/home/mywebsite"> Order allow,...
amone's user avatar
  • 121
0 votes
1 answer
1k views

Nginx 403 Forbidden

after trying three times in other StackExchange Forums, I hope I'm getting an answer here. I switched my wordpress webserver from apache2 to nginx (please note that I want to use the existing ...
realmayus's user avatar
0 votes
1 answer
17k views

Laravel "public"-folder error 403 (forbidden) - using Uniform Server (Apache)

I'm trying to create my first MVC project with the help of the framework Laravel, using the server platform Uniform Server. (Uniform Server uses Apache.) The problem is, I cannot seem to get my ...
Jojo's user avatar
  • 1
0 votes
1 answer
513 views

Set deny rule for images, now my function can't access it

I've set a rule for my images in media folder. Here it is: <FilesMatch ".(jpg|jpeg|gif|png|php)$"> Order Deny,Allow Deny from all </FilesMatch> This will prevent the visitors to ...
user avatar
0 votes
0 answers
458 views

Can a HTTP error be cached?

We are using a Twisted HTTP server https://twistedmatrix.com/documents/15.0.0/web/howto/using-twistedweb.html and we are experiencing a strange behavior. This HTTP server serves a static file and in ...
lapinkoira's user avatar
0 votes
1 answer
2k views

How to show a 404 instead of a 403 on apache host

My site was hacked about 2 months ago so I closed the site down but there are over 1,000 spam links out there still directing to the domain. As there are no files on the domain visitors, including ...
Doug's user avatar
  • 1
0 votes
0 answers
309 views

error AH01630 only from specific ip

some days ago an user report a specifical issue to access to our wordpress site stored in an apache2.4 running on Ubuntu 12.04 LTS. If he try to access from the office, obtain a 403 error and the ...
Carlos Mario Mora Restrepo's user avatar
0 votes
0 answers
362 views

IIS 8.5 access specific file ends in 403.14

In IIS I created a virtual directory to my media asset folder, which contains all images for my application. For some reason I can't access images in one subdirectory directly, it ends in http error ...
Dragonex's user avatar
0 votes
0 answers
2k views

Welcome to Nginx! Instead of website

I hope this is the right place to post this. I have a CentOS 6 VPS that hosts multiple sites. There are three existing sites that are currently running on it just fine, but I am now trying to add a ...
Alternative's user avatar