Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
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 ...
1
vote
0answers
397 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: ...
0
votes
1answer
218 views

WMS Service Tilecache Python 403 error

I´m trying to migrate a Webserver + Mapserver to a new Ubuntu 12.04 machine. Everythings (apache2, mapserver 6.2.1 ) working so far, except a tilecached wms service (tilecache 2.11-2 is installed) ...
1
vote
2answers
792 views

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

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

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

lighttpd 403 forbidden jpeg image access

I am running a stock lighttpd installation with no configuration changes. Client sees a 403 forbidden error trying to access static images (even from an img tag on a static page). Nothing in the logs ...
2
votes
2answers
425 views

403 statuses on nginx at FreeBSD

I'm trying to switch from an Apache hosting solution to nginx with php-fpm on FreeBSD 9.2. I'm rewriting my script for creating vHosts and stuff for nginx now and get 403 statuses when I try to ...
2
votes
2answers
4k views

Subdomains returning HTTP 403 after updating Apache from 2.2 to 2.4

After an operating system upgrade which involved updating Apache from 2.2 to 2.4, I'm now getting 403s trying to access http://files.fierydragonlord.com/ and http://status.fierydragonlord.com/. ...
0
votes
0answers
82 views

NGINX Custom ErrorPages wont work

My Server doesn't want to display a custom 500 error page. The error page for the 500 error is here: https://aixspace.de/errorpages/500-504/500.html these are my vhost configs: server { listen ...
1
vote
1answer
667 views

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

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

Getting complaints about having error 403 from website users [closed]

My website http://firstlearner.com is running on IIS 7.5 and I'm getting many complaints from website users about the 403 error. And after complaints. when i checked the website it was running fine at ...
0
votes
1answer
1k views

Apache's “403 Forbidden” error message only when the page is called from other machines

I've recently updated my Ubuntu's Apache to 2.4 by compiling it from source and as a side effect I'm facing a strange behavior. The Apache is able to serve the files locally but not on other machines....
1
vote
1answer
1k 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 ...
0
votes
1answer
210 views

403 forbidden .htaccess issue

I have this .htaccess file in one directory on my site: <limit GET> order deny,allow deny from all allow from 123.456.789 </limit> ErrorDocument 403 403.html It blocks everyone ...
0
votes
1answer
762 views

nginx ip A name subdomain alias 403 error

Context: - I have nginx listening on port 80 and serving static files (jpg,css,js, etc) - if non static files, I proxypass to Apache listening at 8080 - I use "secure_link" to protect my files from ...
0
votes
1answer
1k views

Apache server gives 403 forbidden error after a couple of request

I have a really strange problem. I am using Apache2 and I have set up a VirtualHost. And it is working, but after a couple of request (4-5), I am getting 403 error. After I wait 10-20 seconds, the ...
0
votes
1answer
1k views

Lighttpd fails with 403 - Forbidden with SELinux enabled

I've setup a CentOS 6.3 box with lighttpd, php-fpm and I can server both static files and PHP files with SELinux enabled if I leave the lighttpd home directory set to the default (/var/www/lighttpd). ...
0
votes
2answers
160 views

403 Forbidden when using a dir wildcard

I am using a wild card so that I do not have to create a dir listing for each folder I create I can access folder.dev/index.html correctly but when I try to access folder.dev I am getting a 403based ...
0
votes
2answers
4k views

Nginx location and root

I think I have a trivial problem with nginx but I can't see it. I have the following file tree: /data/www > main/ >> html/ >>>...some files (A) > wiki/ >>...some files (B)...
1
vote
3answers
21k views

Getting http 403 error when accessing website from remote client

I have created an asp.net website that is to be accessed from client browsers running on the same domain. I've hosted the site on IIS 7.5 I have disabled Anonymous Authentication and Enabled Windows ...
0
votes
1answer
2k views

How to avoid '403 Forbidden' response in Apache with suEXEC enabled

I have configured an Apache 2.2 web server with suEXEC following a couple of tutorials after reading the official documentation. I'll put a short summary here: # Install and enable Apache, suEXEC, ...
2
votes
1answer
2k views

Apache 403 after configuring varnish

I just don't know where else to look and what else to do. I keep getting a 403 error on all my vhosts after setting varnish 3.0 Apacher log: [error] [client 127.0.0.1] client denied by server ...
1
vote
0answers
779 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 ...
1
vote
2answers
1k views

Getting 403 on apache with php on fedora 17

I put the projects on ~/public_html/project and create a soft-link in /var/www/html/project which point to ~/public_html/project. my /etc/httpd/conf/httpd.conf is shown below ServerRoot "/etc/httpd" ...
2
votes
1answer
2k views

How can I deny from a certain IP address but still show a custom error page with Apache2?

I have In my web root /home/www/ I have an .htaccess file to ban IP addresses: order allow,deny deny from 1.2.3.4 deny from 2.3.4.5 allow from all ErrorDocument 500 /errors/500.htm ErrorDocument 403 ...
4
votes
2answers
2k views

Webmin apache on CentOS 6.3 results in 403 forbidden, permissions are OK

First of all, I will mention that the permissions are fine for the document root directory, which is /webapps/nimbus/www/public_html The www directory contains a PHP application. PHP is a problem ...
-1
votes
1answer
1k views

i keep getting a 403 forbidden permission error on my fedora server through my local network

Trying to view a javascript file (via http) on my server I get the following error: Forbidden You don't have permission to access /jquery-1.8.2.js on this server. Apache/2.2.22 (Fedora) Server at ...
0
votes
1answer
223 views

Why does this Apache 2.2 mod_rewrite RewriteRule not work on 403s?

In my httpd.conf I have: <FilesMatch "^\.ht"> Order allow,deny Deny from all </FilesMatch> And in my .htaccess file I have: RewriteEngine On RewriteBase / RewriteCond %{...
0
votes
1answer
118 views

403 Error when accessing vhost directive

I'm having some troubles with setting up my webserver (Centos 5.8). It's a brand new server and I'm trying to set a vhost to the following dir: /home/exo/public_html However whenever I restart httpd ...
0
votes
2answers
2k views

Having trouble with my virtual host set up of phpmyadmin with apache

I have lampp and wordpress installed correctly. When I attempt to navigate to http://localhost/phpmyadmin I get a 403 permission denied error. I can access the two sites available in my virtual host ...
4
votes
3answers
14k views

Why am I getting Network error: 403 Forbidden in firebug for files I am not trying to access?

QUESTIONs I'd like to know why I am getting Network error: 403 Forbidden in firebug for files that I am not trying to access? is it likely to cause any serious problems on the webserver? how to fix ...
2
votes
1answer
7k views

Getting a “403 access denied” error instead of serving file (using django, gunicorn nginx)

Getting a "403 access denied" error instead of serving file (using django, gunicorn nginx) I am attempting to use nginx to serve private files from django. For X-Access-Redirect settings I followed ...
4
votes
1answer
44k views

How to fix access to the requested resource which has been denied for Tomcat webapp?

I have installed Tomcat in my machine and it is running fine. I am able to login to the administration manager. I have deployed a .war file which can be viewed on the Tomcat manager. The name of the ...
1
vote
1answer
2k views

Apache virtual host configured with a sym-link to a folder in my user directory fails with 403 Forbidden

I'm sure someone has asked/answered this before but my search hasn't helped me much so... I have Eclipse IDE installed on my Linux box (LM13) with the 'workspace' folder located @ /home/user/projects/...
0
votes
1answer
363 views

How to set Apache to return 403 on images used as CSS backgrounds [duplicate]

Possible Duplicate: How to prevent hot linking (“image theft” / “bandwidth theft”) of ressources on my site? I'd like to configure my Apache server similar to a working configuration I noticed on ...
2
votes
2answers
1k views

CentOS Apache: basic auth returning 403 instead of 401

I have three dirs in /var/www/html, one of them has .htacces with following: Order Allow, Deny Allow from all AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/null AuthName 'lalalal' AuthType Basic ...
0
votes
1answer
3k views

ASP.NET4.0 MVC4 IIS7.5 Error 403.14 I'm Literally Pulling Out My Hair

I want to get away from developing in PHP but doing that is proving to be a massive headache. I am trying to set up a website with MVC 4, ASP.NET 4.0, on Win7 Professional (64-bit). The website is ...
1
vote
2answers
1k views

Apache 403 - looking .htaccess in parent's parent directory

I am having this problem (apache2, ubuntu 12.04) I have put all my sites in /home/username/vhosts folder I have added permissions to home and username to be x and chmod -r 777 on vhosts Added /etc/...
0
votes
1answer
2k views

Broken URLs after enabling mod_security

For example this pdf stopped working after enabling the mod, it generates 403 error. [Wed May 30 18:47:19 2012] [error] [client xxxxxxxxxxx] ModSecurity: Warning. Match of "within %{tx....
1
vote
1answer
271 views

“(13)Permission denied” error from Apache

This is an Apache server on Linux RH ES 5.6. I created a new Apache instance on port 443. When I try to access the website I get a 403 error. I see the following in my error logs: $ vi ...
2
votes
1answer
1k views

403 forbidden from apache2

I know this question gets asked a lot but none of the answers have solved my problem. I have the same configuration on my work computer but it's not working at home! First I pulled from my git ...
3
votes
2answers
21k views

403 Forbidden when trying to access Nginx

I've just got a new server and want to try some other things. Like Nginx instead of Apache. So, installed nginx, got the Welcome page, installed php5-fpm and download a Wordpress to give a try. But, ...
0
votes
2answers
2k views

Configure Apache 2 to specify the same error documents for both 403 (Forbidden) and 404 (Page Not Found) responses

I'd like to know how to configure Apache 2 to specify the same error documents for both 403 (Forbidden) and 404 (Page Not Found) responses. I assume there is a directive to add to httpd.conf, but not ...
2
votes
1answer
318 views

Apache 403 forbidden

I have VirtualHost with DocumentRoot "/home/blogs/domain.com" <VirtualHost domain.com:80> ServerName domain.com ServerAlias www.domain.com ServerAdmin admin@domain.com DocumentRoot "/home/...
8
votes
6answers
43k views

CentOS Apache HTTPD Configuration (403 Forbidden)

This is what i have in my httpd.conf <VirtualHost *:80> ServerAdmin spero78@spero78.com ServerName mcmoddr.com ServerAlias www.mcmoddr.com DocumentRoot /home/...
1
vote
1answer
3k views

Set maximum requests per IP in IIS7

I have a web site deployed to IIS 7. One page it is has 15+ .js files linked to it. Last two files referenced in <head> tag (loaded last) get 403 forbidden response from server. I have ...
1
vote
1answer
2k views

403 Forbidden serving static files from VirtualBox shared folder with nginx (Ubuntu 10.04LTS guest, Windows 7 host)

I'm working on a local development VM and trying to test serving my site with gunicorn and nginx as a reverse proxy for static resources only. The site loads minus static resources with user nginx; ...
0
votes
1answer
2k views

ADFS 2.0 and CRM 2011 IFD - Error 403 when being redirected

I'm not sure what happened here, but let me give you the rundown. I have a CRM 2011 IFD that by all accounts was functioning. Out of nowhere, I find that when being redirected to ADFS 2.0 login page ...
1
vote
1answer
607 views

apache httpd error: “mod_rewrite: can't access DBM RewriteMap file”

I'm running a fresh httpd install on Fedora linux and all my static content 403s. The error_log shows this: mod_rewrite: can't access DBM RewriteMap file How do I fix this? Thanks, Chris