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.

0
votes
1answer
25 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 ...
0
votes
0answers
23 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....
0
votes
1answer
403 views

403 Forbidden on files within symbolic link

I have a Laravel app hosted on Linux through GoDaddy. My directory root is 'public_html/public' I store my files in 'public_html/site/storage/app/public' Laravel recommends a symbolic link from the ...
0
votes
1answer
23 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 ...
0
votes
0answers
304 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,...
0
votes
1answer
79 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 ...
-2
votes
1answer
51 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 ...
-4
votes
2answers
79 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 ...
0
votes
1answer
281 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 ...
2
votes
1answer
691 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; ...
1
vote
1answer
584 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 ...
0
votes
0answers
156 views

Nginx giving 403 errors for some files

I installed a LEMP stack on an Amazon ec2 server. I'm not familiar with nginx - this is purposely a learning experience for me. Unfortunately I messed something up somewhere along the way, and certain ...
0
votes
0answers
92 views

AWS API Gateway/Route 53 working on 1 Base Path Mapping while giving the other a Missing Authentication Token error

I have my API Gateway hooked up to 2 Lambda expressions for the custom domain-name api.pyumipsum.com I then have it setup in Route 53 as a CNAME to api.pyumipsum.com But for some reason, anytime I ...
0
votes
1answer
561 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 ...
0
votes
1answer
417 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 ...
1
vote
0answers
64 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 ...
-1
votes
1answer
165 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 ...
0
votes
1answer
234 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 ...
0
votes
1answer
6k 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 ...
0
votes
1answer
874 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 ...
1
vote
1answer
216 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 ...
2
votes
2answers
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
1
vote
1answer
2k 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/...
1
vote
1answer
775 views

Nginx in subdomain: If index is .html error 403 forbidden if index is .php is downloaded

It only happens to me in a subdomain, in the rest it works well: If the index its extension is htm or html gives error: "403 forbidden" If the index its extension is php tries to download. ...
1
vote
2answers
1k views

Nginx 403 forbiden with the good rights set on files

I'm trying to use a subfolder for containing web app on my server. For example : example.com/netdata ===> Netdata monitoring example.com/passbolt ====> Password manager etc .. For making things ...
0
votes
1answer
2k views

Block googlebot on a specific page using nginx

We're currently being crawled at a greater rate than we can handle. I can't seem to get nginx blocking the googlebot server { location /ajax/sse.php { if ($http_user_agent ~* "Mozilla/5....
0
votes
1answer
188 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 ...
1
vote
1answer
271 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 ...
-1
votes
1answer
88 views

Payment provider web hook experiencing a 403 forbidden status

Our payment provider has been having issues hitting our webhook after a transaction. The server responds with a 403 status. NGINX shows the request is retried twice but fails. Interestingly if I ...
3
votes
1answer
485 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 ...
0
votes
1answer
98 views

403 on new apache2 installation

I had lampp installed previously. I uninstalled it using sudo ./uninstall But even after i uninstalled it, it was showing me the contents of /opt/lampp/htdocs. I used sudo rm to remove the directory ...
0
votes
2answers
1k views

Directory listing ain't working on nginx showing 404 error

UPDATED nginx.conf FILE AND ANYTHING ELSE TO THE LATEST STATE BUT STILL GETTING 404 ERRORS :-( So i was trying to setup directory listing on my server with nginx, i followed the instructions step-...
1
vote
0answers
29 views

How much of a performance are 403 requests?

I have a small wordpress site on an EC2 linux server. I noticed that I was using up a lot of memory for a site getting 0 traffic, and upon checking my access log saw a bunch of requests, about 1 per ...
0
votes
0answers
34 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 ...
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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
759 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 ...
2
votes
1answer
489 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=%{...
1
vote
0answers
11 views

Laravel project in subfolder of public_html gives trouble with .htaccess redirect [duplicate]

I've set up my VPS server and am trying to set up a Laravel project. I have a /public_html/ folder with an index.html that's shown when visiting the website URL. I have a laravel project in: /...
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 ...
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 ...
0
votes
0answers
111 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 ...
1
vote
0answers
38 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"> ...
1
vote
0answers
24 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 <...
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 ...
0
votes
2answers
2k views

403 forbidden on Apache after trying to install nginx reverse proxy

My setup: Digital Ocean droplet running Debian 8 2 websites with each their domain running on Apache2 Tried installing nginx and configure it as a reverse proxy following these instructions: https:/...
0
votes
1answer
122 views

Is it ever beneficial to log in to a server / page returning 403: Forbidden? [closed]

IE 11 and Microsoft Edge both recommend logging in after receiving an HTTP 403: Forbidden. The package hc says this about error 403: Code explanation: Request forbidden -- authorization will not ...
-1
votes
2answers
539 views

nginx 1.8.1 only works with default root

I have Cent OS 6.6 with nginx 1.8.1 installed. It seems like if I change the root in the conf file to something other than the default '/usr/share/nginx' it gives an error 403 Permission denied. I ...
1
vote
0answers
426 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/...
4
votes
1answer
24k 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 ...