• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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