Tags:
create new tag
view all tags

SID-02427: I changed {PubDir} can upload files ,but can't download file

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title I changed {PubDir} can upload files ,but can't download file
SupportCategory

TWiki version 6.1.0
Server OS ubuntu 16.04 LTS
Web server Apache2
Perl version 5.22
Browser & version foxfire
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2020-02-14 - BianPeng
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.