Hey all

Im new so if this is in wrong place sorry, im trying to donwload 3DRAD to use for Virtual Sailor, when i click downlaod this comes up

**Forbidden

You don't have permission to access /getdownloadlink.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at www.3drad.com Port 80**

Dani AI

Generated

Short note: and are correct — this is a server-side access problem. 's chmod question is on the right track: filesystem permissions often cause 403s, but Apache access rules, .htaccess directives, SELinux contexts, mod_security, symlink problems, or application logic (IP/referer/license checks inside the PHP script) are all common culprits. The additional 404 for the ErrorDocument usually means the custom error page configured in Apache is missing or itself not accessible.

Recommended diagnostics for the server owner (commands below assume typical Debian/Ubuntu or CentOS paths — adjust as needed):

# check file and each path component
ls -l /var/www/html/getdownloadlink.php
namei -l /var/www/html/getdownloadlink.php

# inspect Apache error log (Ubuntu/Debian)
tail -n 200 /var/log/apache2/error.log
# or CentOS/RedHat
tail -n 200 /var/log/httpd/error_log

# quick request test
curl -I http://www.example.com/getdownloadlink.php

# config sanity
apache2ctl configtest   # Debian/Ubuntu
httpd -t                # CentOS/RedHat

Fixes to try (if the site is controlled locally): ensure directories are 755, files 644; PHP files do not need the executable bit. Correct ownership to the web user (example: chown -R www-data:www-data /var/www/html or apache:apache on CentOS). For Apache 2.4, confirm the <Directory> block allows access (e.g. Require all granted). Check .htaccess for Deny/Require rules, verify the ErrorDocument path exists, inspect SELinux labels with ls -Z and run restorecon -Rv /var/www/html if SELinux is enforcing, and review mod_security audit logs for blocked requests.

If not the site owner, the only practical options are to contact the site administrator (include timestamp, requested URL and a curl -I output) or look for an official mirror of the download.

Recommended Answers

All 3 Replies

That error is on the server that you are trying to download the file from. Essentially the permissions on the file (likely /var/www/html/getdownloadlink.php) are incorrect.
Unless you own the server you are downloading from, there is nothing you can do about it.
John

what is the chmod of your download dir? and also the uid and gid of the dir?

Ennoil is Correct. This is a server side issue. Unless it's yours, you cannot do anything about it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.