• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Allow file downloads from doc root

P

PlymWS

Guest
I'm trying to edit my Plesk 8.1 installation to allow me to download a .tar file from my doc root.

If I enter http://<DOMAIN>/document.tar I get a permission error on the file. I have chmodded the file to 777 but I believe the permission the error is on about is an Apache permission.

How do I go about editing the domain to allow me to link to this file for people to download ? I have looked at /conf/httpd.include but would rather not mod that myself if I can help it, unless guided by someone here :)
 
Anyone ???

I'm sure this is part of the <Directory> line in the httpd.include file but I don't know what to change to be able to link to files in my httpdocs folder.

Help !!
 
You shouldn't have to edit anything to make this work. Just upload the file in your httpdocs and it's available for the world to download.
 
Nah, it's not working for me.

If I put a file in httpdocs I get this :

Code:
Forbidden

You don't have permission to access /<file>.tar on this server.

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

My system in running Suse 8.3 and Plesk 8.1.1. It used to work when I had Fedora Core 4 installed but I changed OS and now it doesn't work ??!?!
 
What are the owner, group and permissions for this file? Are they any different from other files in your httpdocs folder? Do you have any custom settings in vhost.conf or .htaccess? You can access an index.html file in that folder?
 
The owner is the ftp user. group psacln.

I can put html and php files and they are displayed correctly but files will not download.

I have no vhost.conf or .htaccess files in place
 
So when you rename a .html file to .tar you cannot access it anymore? Mighty strange...
 
Correct. I get a 403 error on any file that I try and download, not view
 
Back
Top