Rudloff / alltube

Web GUI for youtube-dl
GNU General Public License v3.0
2.94k stars 584 forks source link

Error 404 when trying to download a video #329

Open xxtensazenxx opened 3 years ago

xxtensazenxx commented 3 years ago

When trying to download a video from any website I get error 404

Your environment

Linux What is your operating system (Windows, Linux, OSX, etc.)? Ubuntu Server 18.04 What is your web server (Apache, IIS, etc.)? Nginx What version of AllTube are you using? 3.0.0-beta4 How did you install AllTube (with Git or with a release package)? release package What version of PHP are you using? PHP7.2 What version of Python are you using? Python 2.7.17 What version of youtube-dl are you using? 2020.06.16.1

What is the content of your config/config.yml file? default

Please provide the URL of a video that causes the issue. its with any video I try to download but for this example we'll use https://www.youtube.com/watch?v=tZnm9kGsa9g

Describe your issue

Whenever I try to download a video using the webui I always get "404 Not Found nginx" page. Not really sure where to go from here.

Rudloff commented 3 years ago

Hello, It seems that URL rewriting is not configured correctly. I don't use Nginx myself but you can try this configuration: https://github.com/Rudloff/alltube#nginx You can also try to disable URL rewriting: https://github.com/Rudloff/alltube/blob/master/resources/FAQ.md#i-get-a-404-error-on-every-page-except-the-index