Sunday 17th December 2017 15:43

I have a site that is working well on one ISP and I have to move it to another ISP.  After the move the pages work but there are some pages which contain some files for download and when I tried to download them, I got a 403 Error that said that I do not have the permission to access the file.  What permission do I need to set for those files for download?  Thank you.

Monday 18th December 2017 02:41

Additional information: When I first moved it based on the instruction here.  I could not download the pdf file because the system could not find the file in the public/downloads directory.  So I moved the public directory as well.  This is when I received the Forbidden error.  I uploaded a pdf file to one of the directories in download and that works fine.  

Then I noticed that the original pdf file that I was trying to download has a file type of text/generic instead of application/pdf.  Could that be the problem?

Monday 18th December 2017 16:14

Hi there kcpau

 

If you copy the files manually, you may run into permissions problems. This is because when you copy the files, their permissions are set to the user that you copied them with, and not the webserver. You can sort these issues out using chown or chmod as appropriate to fix the permissions.

 

An alternative to copying the files manually is to go into the Documents panel in Organizer, and then click the Re-generate public links button.

 

Note that you will still need to copy the docstore directory yourself manually for this button to work, but it sounds like you did this step correctly.

Tuesday 19th December 2017 01:26

Thank you for the reply.  But I went to Content/Document in Organizer and cannot find the "Regenerate public link" button.  Can you tell me where the button is?  Thank you.

Tuesday 19th December 2017 10:48

If you're using version 7.7, when you go into the documents panel and have no document selected, you'll see it at the top of the panel.

 

If you're still using an earlier version of Zenario then I believe you have to click on each document on-by-one, then press the Generate public link button for each one. I couldn't recommend doing this if you had a lot of documents, as it would be rather tedious.

Wednesday 20th December 2017 10:15

The button is simply in Organizer->Documents (the new documents area), as opposed to Content Items->Document content items (the old content-item based area).

The new documents area is folder-based, and doesn't require documents to be published. You just upload a file, set meta data if you want to, and they are ready. 

 

 

You must confirm your screen name on your profile in order to comment.

Please Login if you wish to add a message.