TITLE:
"autoindex on" only working for full website, not selectively
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Onyx, latest MU, CentOS 7.3, 64-Bit
PROBLEM DESCRIPTION:See https://talk.plesk.com/threads/autoindex-on-only-works-for-complete-website.342176/#post-821302 for details.
STEPS TO REPRODUCE:1) Create a subscription or add-on domain.
2) Create a subdirectory "download" in that domain and upload some files. Do not create an index-file for that directory.
3) Plesk GUI > Subscription > Websites & Domains > Apache & Nginx directives > Enter
location /download {
autoindex on;
}
4) Save and restart web server (Nginx)
ACTUAL RESULT:2) Create a subdirectory "download" in that domain and upload some files. Do not create an index-file for that directory.
3) Plesk GUI > Subscription > Websites & Domains > Apache & Nginx directives > Enter
location /download {
autoindex on;
}
4) Save and restart web server (Nginx)
Directory index forbidden / 403 error when opening /download-directory.
EXPECTED RESULT:Directory listing
ANY ADDITIONAL INFORMATION:The same Nginx directive with
autoindex on;
not limited to a "location" works, but it then applies to all website directories.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:autoindex on;
not limited to a "location" works, but it then applies to all website directories.
Confirm bug
Last edited: