SID-02427: I changed {PubDir} can upload files ,but can't download file
| Status: |
Answered |
TWiki version: |
6.1.0 |
Perl version: |
5.22 |
| Category: |
|
Server OS: |
ubuntu 16.04 LTS |
Last update: |
6 years ago |
Hi ,peter I need your help !
I uploaded the file after had modified {PubDir} and changed dir(sudo chown -R www-data:www-data {new dir}) 。 when download it ,the prompt is "the requested URL was not found on this server." Is there any problem with my settings?
Thanks!
--
bian peng - 2020-02-13
Discussion and Answer
You also need to change the directory in Apache's configuration:
Alias /pub your_new_directory_here.
Uploading is done by TWiki on its own, but for downloading the web server doesn't call TWiki at all!
--
Harald Jörg - 2020-02-13
hello
I changed Apache's configuration: Alias /pub your_new_directory_here. When I download attachements prompt " You don't have permission to access this resource".Could you give me same advise?
--
bian peng - 2020-02-14
Thanks 。Everthing is ok!
--
bian peng - 2020-02-14
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.