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
0 votes
1 answer
47 views

403 Forbidden on initial load after installing NextCloudPi

I am making this post mostly for awareness in case anyone else is having a similar issue. Story I am running nextcloudpi (nextcloudpi.ownyourbits.com) on a Raspberry Pi 4 8GB using the Debian Buster ...
user avatar
0 votes
0 answers
23 views

Access Denied with IAM Update

In my scenario I have created a new policy to grant access to a server in our instance but it doesn't appear to have taken effect. We granted read and list permissions with arn:aws:iam::657644469569:...
user avatar
0 votes
0 answers
92 views

authz_core:error Apache HTTPD RHEL7 client denied by server configuration

Based on the following logs, how can I locate the config file that could be preventing access? Line 211: [Wed Mar 16 10:08:04.145981 2022] [authz_core:error] [pid 30995] [client 10.115.64.185:45138] ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
  • 15
0 votes
0 answers
679 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 ...
user avatar
  • 165
0 votes
1 answer
395 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
78 views

Cannot access my website

everyone! I'm linux-enthusiast and I have an issue with an nginx on debian VPS. Until recently I could access my static website but now I can't. This is my sites-available/example where example is my ...
user avatar
0 votes
0 answers
21 views

Google 403 Error

I am experiencing a very odd issue. So for some context here, I have a dedicated server that I pay monthly for. That dedicated server comes with a pool of IP addresses (USA IP's). I created a few VM's ...
user avatar
  • 111
0 votes
1 answer
223 views

Forbidden (403), when accessing server-status on Apache [duplicate]

I am trying to access Apache server-status?auto but it is giving me Forbidden 403 Message I checked apache2.conf and there is this options under html directory: <Directory /var/www/html> ...
user avatar
2 votes
1 answer
497 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 ...
user avatar
  • 33
1 vote
0 answers
2k 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 ...
user avatar
  • 157
0 votes
1 answer
100 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 { ...
user avatar
1 vote
2 answers
90 views

fail2ban weird ban behaviour bans not IP properly

I'm try to ban all suspect 403 errors via fail2ban. So I created this jail # block 403 errors [apache-403] enabled = true filter = apache-403 port = http,https logpath = /var/log/apache2/...
user avatar
0 votes
0 answers
237 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....
user avatar
0 votes
1 answer
261 views

403 redirect not working .htaccess

I want to block users from India from the website and redirect them to a custom 403 page. Here's the code that i placed in .htaccess file: ErrorDocument 403 /403.html deny from 1.6.0.0/15 deny from 1....
user avatar
1 vote
1 answer
926 views

How can you redirect from HTTP to HTTPS where IAP is configured with GCP Load Balancers?

I've currently got a website hosted on Google Compute Engine that's authenticated with Identity-Aware-Proxy which sits behind a load balancer. This all works great over https, but I was wanting to ...
user avatar
1 vote
1 answer
845 views

Why does my web server throw 403 Forbidden when trying to use HTTPS?

I want traffic on my web server to be served securely. I'm running Ubuntu server 20.04 with Abyss Web Server, which has native support for using Let's Encrypt certificates. I followed all the ...
user avatar
1 vote
0 answers
59 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 ...
user avatar
1 vote
2 answers
1k views

ModSecurity blocks legitimate client requests

Randomly, the modsecurity blocks legitimate clients requests giving the error 403. Here is para of the modsec_audit.log: ---d6e99f36-A-- [21/Jun/2020:07:14:45 +0100] Xu761X8AAAEAADI1YrAAAABQ xxx....
user avatar
1 vote
1 answer
5k views

istio-proxy 403 error:'upstream connect error or disconnect/reset before headers. reset reason: connection failure'

We have deployed an application behind the istio ingress gateway and is accessible at test.domain.com/jenkinscore.We have used istio 1.4.5. The domain name is created for the istio ingress gateway ...
user avatar
1 vote
0 answers
260 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 ...
user avatar
0 votes
1 answer
5k views

How to identify cause of error 403 on JBoss WildFly server?

We are running an AngularJS application on JBoss WildFly. It used to work fine on both, our testing environment and in production. How, however, there is a weird error 403 issue in production now. ...
user avatar
0 votes
1 answer
83 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 ...
user avatar
2 votes
2 answers
6k 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 ...
user avatar
  • 201
0 votes
2 answers
108 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/...
user avatar
1 vote
1 answer
61 views

Make Apache2.4 send a 403 when incorrect login details are entered instead of the browser asking again

I'm using .htaccess to password protect a file on my webserver. If incorrect login details are entered then the browser just shows the login box again. How can I make the browser send a 403 Forbidden ...
user avatar
  • 113
0 votes
1 answer
4k views

apache: "Symbolic link not allowed or link target not accessible" on another filesystem only

I have a a file in remote directory which is moulted to apache DocRoot tree. When I try to download a file (not write) from that dir I get 403: AH00037: Symbolic link not allowed or link target not ...
user avatar
  • 2,055
0 votes
0 answers
1k 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 <...
user avatar
  • 1
0 votes
1 answer
2k views

403 Forbidden Error after Apache Update

I have several vhosts all of which except 1 are working fine after many packages were upgraded on Ubuntu 16.04 server. The only difference between working and non-working vhosts is that the non-...
user avatar
  • 211
0 votes
1 answer
894 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 ...
user avatar
  • 133
0 votes
0 answers
2k 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....
user avatar
0 votes
1 answer
247 views

share user folder with other users apache

Migrating from windows server (where this was unbelievably easy with virtual directories) to a linux server and have worked on this for weeks... I want to share a users folder contents with all other ...
user avatar
0 votes
0 answers
659 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,...
user avatar
  • 121
0 votes
1 answer
2k views

NGINX Not showing directory contents

I have some trouble with NGINX on my server. I previously used Apache. When I try to request folder contents on my server (like, 192.168.0.128/files), I get a 403 Forbidden error. Anyone know how to ...
user avatar
-2 votes
1 answer
167 views

Display custom error page

I have an nginx web server that runs a Laravel application. The web.config and .htacces pages are forbidden pages. When I access the page, I get a 403(nginx) error. Instead, I want a custom html page ...
user avatar
-4 votes
2 answers
500 views

How do I prevent access on the web to a txt file on my server? i want it to still work, as its for a wizard. But i dont want people to access my code

I'm wondering if anyone can help me please. I have some text files on my server, which run with a Wizard. The issue I am having is that I'm unable to hide the text files on the web browser. I've ...
user avatar
0 votes
1 answer
781 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 ...
user avatar
3 votes
1 answer
5k 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; ...
user avatar
  • 984
1 vote
1 answer
2k views

Error 403 (access denied) with updated .htaccess file

Im using a plugin for one of my websites which I have updated recently. Since I have updated I get always an access denied message (Error 403) when opening magnalister.php of the plugin. When I ...
user avatar
  • 129
1 vote
1 answer
2k views

403 Forbidden Errors with IIS Performance and Caching Configuration

I have recently moved from a managed server to AWS running Windows 2012 R2 with IIS 8.5. When I first open any website on my server or do a hard refresh, everything seems to be okay - no major ...
user avatar
  • 41
0 votes
1 answer
2k views

403 error trying to access file on Apache server

I have an Ubuntu 14.04 server at http://images.example.com with this in /etc/apache2/sites-enabled/richblockspoorblocks.com.conf: <VirtualHost *:80> ServerAdmin admin@example.com ...
user avatar
  • 143
1 vote
0 answers
106 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 ...
user avatar
  • 123
0 votes
1 answer
919 views

nginx error_page configuration

I am new to nginx server, i am trying to validate all request through auth_request module it is working as expected, but in error page configuration it is not working, I have 2 error page ...
user avatar
0 votes
1 answer
353 views

403 Status on a http request but the page is rendered

I have a really weird and mind boggling problem that I've been trying to figure it out since a few days now. One of my client told me that the home (index) page of her site is not being referenced by ...
user avatar
  • 3
0 votes
1 answer
16k 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 ...
user avatar
  • 1
0 votes
1 answer
4k views

Exchange Autodiscover not working 403, but can open Externally

Recently I've set up Exchange Server 2016, configured external DNS accrodingly. Server itself works fine, can send and receive emails. OWA is working fine aswell (externally and internally). Issue is ...
user avatar
  • 167
1 vote
1 answer
744 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 ...
user avatar
  • 210
4 votes
3 answers
11k 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
user avatar
  • 141
1 vote
1 answer
4k views

Phppgadmin: 403 Forbidden

I just set up phppgadmin on my webserver (a Debian Jessie) and I configure Apache this way to access it: <Virtualhost *:80> ServerName pga.mydomain.com DocumentRoot /usr/share/...
user avatar
  • 141

1
2 3 4 5