Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've got a LAMP site where my law customers can download a file. I've got it pretty buttoned up with .htaccess and a CAPTCHA. The .htaccess denys everyone from outside the USA. I have a block of code that tracks downloads so I know how often and from where it's being downloaded. That's in a MySQL db. Nobody logs in. The credentials for logging into MySQL and storing the info about the download are in an inaccessible file. I usually use Chrome. I tested it with that, Edge, and Firefox and it works fine. But I had a couple customers this week who ran into a problem trying to do the download. One was using Chrome and the other was using Firefox. I decided to try it in Opera on my system and I also get an error. But like I said, if I do it using Edge, Chrome, or Firefox on my system, it works fine. I was logged into the customer's machine just now who tried it with Firefox and I cleared his cookies and cache. That didn't help. But it did work on his machine using Edge. Can anyone suggest what might be going on here? Why it's so inconsistent? Here's the error he got in Firefox:

Connection failed: Access denied for user ''@'localhost' (using password: NO) opera


Here's the error I got in Opera:

Forbidden
You don't have permission to access this resource.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


I know someone's going to ask for the URL for the site. I'd prefer not to post that here.

Thank you!

Avian

What I have tried:

I've tried this using various browsers
Posted
Updated 31-Oct-19 4:49am

1 solution

If this was my site and I needed to troubleshoot it, I would be looking at what is different between the machines.
1. try opening up the htAccess, and see what happens
2. Check the settings in the browsers.
3. Log all the requests coming in, and what details are being passed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900