Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable directory browsing #24

Open
akhilleusuggo opened this issue Sep 13, 2021 · 9 comments
Open

Disable directory browsing #24

akhilleusuggo opened this issue Sep 13, 2021 · 9 comments

Comments

@akhilleusuggo
Copy link
Contributor

akhilleusuggo commented Sep 13, 2021

Options All -Indexes

This line is giving me too many error logs, Removing the "minus* sign" fixes my problem.

AH01276: Cannot serve directory /var/www/html/AVideo-Storage/videos/xxxxxxxxxxx65.92760120/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive

This issue is related to WWBN/AVideo#5680

@DanielnetoDotCom
Copy link
Member

Disable directory browser is very important for security reasons.

@akhilleusuggo
Copy link
Contributor Author

then there's something wrong with the script.

AH01276: Cannot serve directory /var/www/html/AVideo-Storage/videos/xxxxxxxxxxx65.92760120/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive

@DanielnetoDotCom
Copy link
Member

but there is no reason to access the videos directory without a file
why do you want to access that?

@akhilleusuggo
Copy link
Contributor Author

@DanielnetoDotCom is the Local Server who tries to access to pull the tags data.
This error spams when you refresh almost any page having the tags option enabled.

@DanielnetoDotCom
Copy link
Member

"Local Server who tries to access to pull the tags data." I am not sure what that means

@akhilleusuggo
Copy link
Contributor Author

@DanielnetoDotCom The server checks the maximum resolutions of the videos

image

@DanielnetoDotCom
Copy link
Member

DanielnetoDotCom commented Sep 17, 2021

I am also using this configuration and I cannot see this error on my side.

what type of videos is rising those errors?

how did you upload them (encoder/direct/embed)?

@DanielnetoDotCom
Copy link
Member

I just realize you are talking about the Storage, sorry about that.

I will review this correctly

@akhilleusuggo
Copy link
Contributor Author

Yes, the Storage not local. I encoded them via normal encoding. No embed, just default ffmpeg encoding via the encoder, and stored on YPT-Storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants