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.

4
votes
1answer
25k 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 ...
1
vote
0answers
91 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 (...
2
votes
1answer
882 views

index.php 403 in Drupal on centos 7 with SELinux enabled [duplicate]

i tried to install drupal on centos, i have configure my server (install httpd, mysql, php, etc) everything looks good until the last part: hit the url to install drupal the problem here is once i ...
1
vote
0answers
27 views

New server block returns a 403 error [duplicate]

I recently switched my CentOS 7 machine from Apache to nginx, and I am running into some issues getting my machine properly functioning. I recently installed a new server block into the system with ...
1
vote
2answers
10k views

iis 8 - 403 access is denied

I have a Windows 2012r2 server running IIS 8 on a virtual machine. I set up two sites and pointed them to the D: drive. d:\data\site1 d:\data\site2 and it was working, or so I thought. I originally ...
0
votes
1answer
7k views

phpmyadmin 403 Forbidden on Nginx server [closed]

I've installed phpmyadmin from remi repo on my Nginx server on Centos 6.x and then I linked "/usr/share/phpMyAdmin" to "/var/www/phpmyadmin". Main website is located on "/var/www/example_domain". now ...
-1
votes
1answer
890 views

ADFS 403 Error On login page

I just installed ADFS on my Windows Server 2012 and I am getting stuck. If I go to https://mail.mywebsi.te/adfs/ls I instantly get an 403 error without it actually showing the Default login screen. ...
2
votes
5answers
5k views

403 Forbidden nginx (nginx/1.8.0) [closed]

I've just got a new server in DigitalOcean and want to try some other things. I want to start a wordpress site so I follow the first 1-3 steps from here: https://deliciousbrains.com/hosting-wordpress-...
0
votes
1answer
1k views

Running Python scripts on Apache Server: 403 Forbidden Error

I need to run a few python scripts on a subdomain of my website set up using Apache on an AWS EC2 instance running Ubuntu. I tried following some of the steps mentioned in this post. I get a 403 error ...
0
votes
1answer
1k views

root location of Flask app returns 403 on nginx server

I've seen other posts say that either file permissions or the lack of an index directive are the cause. However, my Flask application does not have an index file at all, and most of the site works ...
1
vote
0answers
340 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 ...
2
votes
1answer
491 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 ...
0
votes
1answer
2k views

Serving a git repository with nginx fails with 403 Forbidden

I made a user git and placed an empty bare repository in his home directory /home/git: $ git init --bare test.git $ ls -l drwxr-xr-x 7 git git 4.0K Jul 18 12:51 test.git I want this repository to be ...
0
votes
0answers
326 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 ...
4
votes
1answer
17k views

yum repo responding with [Errno 14] HTTP Error 403 - Forbidden

I am trying to set up a YUM repository containing some RPM packages from our nightly Jenkins build. The YUM repo resides on the Jenkins server in a repository folder [path to repo]/jenkins-nightly-...
0
votes
0answers
966 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 ...
1
vote
2answers
12k views

Lighttpd static file server 403 forbidden error

I installed lighttpd on Debian Jessie for serving static files, I have a USB drive mounted at /media/storage, with /media/storage/www as my document root and my lighttpd.conf looks like this: server....
1
vote
1answer
795 views

(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 ...
1
vote
0answers
81 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 ...
0
votes
1answer
4k views

Nginx Reverse Proxy w/ SSL - 403 Error

I've been trying to install Nginx as a reverse proxy for the past couple of days, but I can't get it to work. Everytime I load a page on my site, or even a file on my server, it returns a 403 ...
0
votes
1answer
681 views

403 Nginx issue, serving files from /home/user/localhost

I'm trying to serve files from a directory called localhost under my home. In my server block I specified root /home/user/localhost If I change nginx user from http to my username it works but I ...
0
votes
2answers
4k views

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

SharePoint link to Cognos TM1 Server causes 403

We have a strange issue where a direct link from SharePoint to a Cognos TM1 URL causes a 403, however if we refresh or paste-in the link directly it works. The cause might be related to the leading "...
0
votes
2answers
2k views

Apache 403 Error after several successful requests

I am experiencing some odd behavior with Apache. I have several vhosts setup on my local machine. I am currently experiencing this on 1 of the vhosts, as I am doing dev work constantly, however I ...
2
votes
2answers
1k views

nginx suddenly redirecting everything to 403 page, can this be debugged or traced?

I'm not sure what happened to my nginx install. Suddenly all page requests are being redirected to the 403 page. Yesterday I tried to add a user agent to block, restarted service from that point ...
0
votes
1answer
213 views

Apache 403 on multiple domains pointing to the same web root

I'm running serverpilot on linode, which installs Ubuntu 14.4. I need to point three domains to the same modx install. The first domain that modx was setup with works fine. When I added the second ...
0
votes
0answers
228 views

How do I diagnose a blocked connection to an internet webserver?

When I browse to three specific sites (which happen to be run by the same provider), I get a 403 Forbidden Nginx error. However, the sites are up. I am able to access the sites when I use a proxy ...
0
votes
2answers
2k views

Apache LIMIT directive does not allow to see localhost project over LAN

I want to allow to see my localhost project over the LAN using Apache LIMIT directive in .htaccess my localhost project URL is http://192.68.0.123/myproject below is the .htaccess part which cause ...
1
vote
2answers
1k views

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 '...
3
votes
1answer
903 views

Cron Daemon Wget blocked

I've got nginx on Debian 7 without cpanel. I am seting-up my Crontab like this: */45 * * * * wget "http://example.com/cron-url.php" >/dev/null 2>&1 The above cron is being blocked with ...
1
vote
1answer
4k views

Nginx Virtual host 403 Forbidden

I have just brought a domain name (example.com) and have setup a URL frame redirection to my server's IP XXX.XXX.XXX.XXX, however I am getting a 403 forbidden error. I can access pages fine via the ...
2
votes
3answers
17k views

Forbidden (403), when accessing server-status on apache 2.2.22

I'm getting Forbidden error when trying to access www.website.com/server-status mod_status is enabled The VirtualHost: <VirtualHost *:8080> ServerName website.com ServerAlias www....
1
vote
2answers
18k views

Wordpress and Apache 2.4 installation troubles: Cannot Serve Directory

I'm having a devil of a time getting Wordpress going on my webhost. When I try to access my virtualhost, I get a "403 Forbidden You don't have permission to access / on this server." error and a "...
0
votes
1answer
2k views

Nginx deny IP's and setting custom 403 downloads a file?

I've attached my Nginx conf file for my default site which runs on Ubuntu. What I'm trying to achieve is the following: Main directory is /usr/share/nginx/www with the default file index.php ...
0
votes
1answer
4k views

Apache localhost 403 error with Yosemite

I've just installed Mac OS X Yosemite fresh. I configured Apache and chmodded "users/user/Sites" to 755. When I hit localhost I receive a 403 Forbidden "You don't have permission to access / on this ...
0
votes
1answer
2k views

Nginx 403 forbidden error after moving wordpress files to a different location

I had Wordpress working inside a Rails application using fastcgi. Now I'm moving everything around so that it can be accessed at /blog in production. I moved the wordpress files and updated the nginx ...
1
vote
1answer
247 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:...
0
votes
0answers
359 views

403 with accessing Hosted IIS server

A client has several servers hosted which are running IIS 7. From any other server within the same hosting server there are no problems accessing our ASP.net website but from the clients office they ...
1
vote
1answer
268 views

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

Django, Ubuntu, Apache, mod_wsgi

I'm trying to configure apache with django on Ubuntu 12.04. I'm using mod_wsgi. I used a couple of different tutorials but none of them fully worked for me. Frustrated, I installed nginx without ...
1
vote
2answers
509 views

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 ...
1
vote
2answers
8k views

apache wont follow symlinks | 403 permission denied

im using Ubuntu 14.04, and got problem with apache configuration: i created a Symlink in /var/www/html (the apache DocRoot since Ubuntu 14.04) torwards /home/me/myWebDirectory cd /var/www/html ln -s ...
2
votes
3answers
2k views

Apache 2.4 - 403 HTTP status code

I'm getting a 403 error message with Apache, in Debian Testing. Apache version: # aptitude show apache2 | grep -i version Version: 2.4.9-1 # ls -la /home/ total 28 drwxr-xr-x 4 root root ...
0
votes
1answer
1k views

Apache/ModSecurity - Blocking HTML Textarea with 403 when it contains a linebreak (enter key)?

I have a contact form, within this contact form is a textarea. If i fill out the contact form and in the test area, i enter one line of text, e.g. Example The form completes and i am notified via ...
1
vote
1answer
3k views

403 error from 403 ErrorDocument

I've the following configuration script in my Apache 2.4.7 installation: <Directory "/www"> Options Indexes FollowSymLinks AllowOverride All <RequireAll> Require all ...
0
votes
2answers
5k views

XAMPP 403 after all permissions set - OSX 10.9.1 [closed]

I tried installing the latest version of XAMPP as a simple testing platform to demo PHP on before moving to our production server. I set up a couple of virtual hosts for convenience, but they ...
0
votes
0answers
252 views

User using our client to authenticate with our servers are met with the 4XX errors

I am currently debugging an issue with one user unable to communicate with our auth servers. This issue is important to us because it's one user, which likely could stem to more users as we grow. ...
0
votes
1answer
70 views

Disallowing particular subdomain - Nginx

I am having trouble doing something so simple... I have a service on my server that I configured to use a particular hostname which I have mapped with an A record. However I want to return a 403 ...
0
votes
1answer
395 views

Apache 403 on alias to user directory

I'm trying to let Apache list the contents of a users download directory so i created a alias in /var/www/ that points to /home/user/downloads I have chmod -R 755 /home/user/download/ and my Apache ...
4
votes
1answer
3k views

How can I make apache give the config file path and line number for a 403 error

I'm running Apache 2.4.7 on debian unstable. I'm getting 403 errors when I try to run supysonic using the mod_wsgi module. I turned the LogLevel for wsgi and authz_core up to trace6, but I'm still ...