Menu

#201 wrong downlad link

v0.4.1
open
None
1
2023-08-04
2015-06-27
No

Hello,
I would be very grateful if you could help me about a problem. i freshly installed openupload on my digitalocen ubuntu 14.04 LEMP stack server. everything works well except for the system provides a wrong download link. to make it more clear. to be more clear;

***http://46.101.xxx.xx/upload/upload/www/?a=d&i=5U53pEfoj2 =>> this is a wrong download link
my current www server:http://46.101.xxx.xx/upload/
my install root : /var/www/upload/html/upload
my data path: /var/www/upload/html/upload/data
if i edit the link i manually, then i am able to download this way: http://46.101.xxx.xx/upload/data/5U53pEfoj2

How to fix this?
Ty for helping
and great work on the project!

Discussion

  • Süha Ahmet Aktaş

    i wasnt sure if it was a bug or i did sth wrong, so i made a support request

     
  • Alessandro Briosi

    you probably have something wrong in the configuration
    You WWW_ROOT and or WWW_SERVER seem wrong.
    The should be:
    $CONFIG['WWW_SERVER']='https://46.101.xxx.xx';
    $CONFIG['WWW_ROOT']='/upload';

    the correct resulting URL should be:
    http://46.101.xxx.xx/upload/www/?a=d&i=5U53pEfoj2

    also note that having the "data" directory accessible via the web server isn't very good for production.

     
  • Anonymous

    Anonymous - 2015-06-29

    Thank you for replying. I ll try to reconfigure and post the results. Btw i really appreciate your work, good job sir!

     
  • Anonymous

    Anonymous - 2021-04-30

    Good Day. I Have Same Problem.

    https://www.qdyrx.com/tests/upo/www/?a=d&i=89075726593612060794

    It Triggereth 500 Http Server Error.

     
  • Alessandro Briosi

    Well 500 means internal error. It's something related to configuration, but you need to look at the web server logs.

     
  • Anonymous

    Anonymous - 2023-07-28
    Post awaiting moderation.
  • Alessandro Briosi

    Well, it depends on the PHP version you are using.
    I have worked lately to fix some php 8 compatibility, but still have to find the time to complete it and publish it.
    Please also note that OpenUpload is old. You might find a better solution out in the internet.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.