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.

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.

236 questions
1
vote
1 answer

(nginx) Apache Forbidden error (at random): No error logs

I am running an Nginx server, but as of late I am randomly getting "Forbidden" errors by Apache, and it seems to never happen at "first" visit, only after refreshing/browsing for a while. What is more, is that my "designated" error logs for…
pufAmuf
  • 105
  • 1
  • 3
  • 14
1
vote
0 answers

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 longest of the posted values preceded by a /.…
1
vote
2 answers

403 Forbidden error with fcgid and PHP

I'm trying to configure php and mod_spdy on Apache 2.4, Debian jessie, x64. I've followed this guide and configured Apache following this other guide and installed these packages: libapache2-mod-fcgid php-cgi php5-fpm I now have problems with php…
Lucio Crusca
  • 420
  • 3
  • 12
  • 33
1
vote
2 answers

Setting wordpress and gitlab, can activate only one of them at a time

I'm trying to set up a website (website.com) on an Ubuntu 14.04 machine. When '/etc/nginx/sites-available/wordpress' is present, I can run the gitlab server on website.com/gitlab (as intended) When '/etc/nginx/sites-available/gitlab' is present, I…
1
vote
1 answer

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: # Use /hidden/404/ as the 404…
1
vote
1 answer

SVN customize 403 error message

How can I customize "403 Forbidden" message? For only this message I want add additional info, like this "403 Forbidden (you have no rights to [URL to repository])" . How to do it? I want to save compatibility with any svn tools, like native svn…
Znik
  • 348
  • 1
  • 3
  • 12
1
vote
2 answers

Apache2 403 error with multiple virtual host

I have some issues with my Apache2 installation. The last week by a hard disk failure I made a general backup, change the hard disk to a new one and install again all the SO (Debian 7 AMD64) and Apache2. I've restored all data from backup to the new…
ramon
  • 11
  • 3
1
vote
1 answer

403 error from 403 ErrorDocument

I've the following configuration script in my Apache 2.4.7 installation: Options Indexes FollowSymLinks AllowOverride All Require all granted Require not ip ip.range.A ip.range.B …
1
vote
0 answers

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: ErrorDocument 403 /403.html For testing, I have blocked my…
EK0
  • 235
  • 2
  • 8
1
vote
2 answers

403 Forbidden on files with different names but identical content and permissions

I'm running CentOS 6.3 and Apache 2.2.15. I'm using the defaults setup for apache. The files I'm serving are in /var/www/html Here are two of them [root@gisele html]# ls -l *-production-1.0.6.pdf -r--r--r--. 1 root root 171769 Jan 1 21:12…
Will
  • 362
  • 1
  • 3
  • 11
1
vote
1 answer

Unable to display nginx custom 403

Wondering if I could get some help. I am unable to serve a custom 403 page. I am using the geoip module to block a few ip addresses. I need to serve a custom xml file as the 403. My problem is that even tho I have set everything up according to the…
user3145049
  • 31
  • 1
  • 4
1
vote
1 answer

Unable to access certain files on web server

Background: I'm running a CentOS VM with Apache installed. The web root is "/var/www/html". There is a subdirectory ("/var/www/html/mp3") which has two mp3's in it. Both mp3's have exactly the same permissions (644). The "/mp3" directory has 755…
1
vote
1 answer

RHEL Apache: 403 Forbidden on VirtualHost

My files are all owned by apache:apache. All directories have 770 permissions and files have 660 permissions. My original virtualhost seems to be fine but the second one is getting 403 errors on all paths. Here's my current configuration in…
eisaacson
  • 525
  • 3
  • 8
  • 20
1
vote
1 answer

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 Forbidden error. It seems like I've tried…
1
vote
0 answers

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 fcgid_module modules/mod_fcgid.so FcgidInitialEnv PHPRC…
laggingreflex
  • 139
  • 2
  • 10