Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

How to Debug Unusual 403 Error

Post new topic   Reply to topic    Apache Forum Index -> Apache

View previous topic :: View next topic  
Author Message

Joined: 10 May 2015
Posts: 17
Location: canada, ottawa

PostPosted: Fri 29 Sep '17 21:23    Post subject: How to Debug Unusual 403 Error Reply with quote

If I enter the following URL into my browser:


A 403 access denied error is generated. I have defined an error handler page for this error to dump out all of the information provided by Apache, but I cannot see an explanation of why the 403 error is generated with the above parameters when it is not generated if the parameters are omitted. That is https://www.jamescobban.net/FamilyTree/editEvent.php does not generate a 403 error. When I make the same request to my personal copy of the web-site, which is file for file identical to the production site, the script works as intended.

How do I figure out why Apache is generating the 403 error when those parameters are provided, but not when they are omitted? Since the 403 error is not on the access to the main script, it must be on access to something requested by the script, but the error information does not provide access to that. You can reproduce this error yourself but the site will then block your IP address. The output of the 403 error page is:







$_ENV['HTTP_ACCEPT_ENCODING']='gzip, deflate, br'






$_ENV['HTTP_USER_AGENT']='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0'






























Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6414
Location: Germany, Next to Hamburg

PostPosted: Tue 31 Oct '17 19:10    Post subject: Reply with quote

At the moment is seems to work. Did you solve your problem?
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1