• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

404 Error Getting For Downloading File

hackedia

New Pleskian
Hi
I'm hosting files from plesk but one problem acquiring with downloading like this
h93yRYY.png

qoOgw72.png

Or When I Removed Dashes Or Replaced Dashes(%) With - then it's working fine but i need to do this everytime so anyone have better solution for that how to download dashes(space) enabled name file ??
 
you have to add the extension to the MIME-Type list under: website&domains then in the selected domain in the iis settings: add application/apk .apk to the MIME-Types
 
It's the limitation of the IIS, what you can do is create a web.config file with the following code inside that directory should help resolve the issue:

Code:
<system.webServer>
    <security>
            <requestFiltering allowDoubleEscaping="true" />
    </security>
</system.webServer>

Alternatively you can rename the file so there is no spaces at all.
 
In Directory Like In Home directory or In http docs ?? And i need with spaces because i have no time for removing dashes everytime because i'm using plesk as file hosting :)
 
In whatever directory that has the dashes so in this case would be httpdocs/download/android-apps

Alternatively you can go rdp to the server (if you have the ability to) and enable Allow Double Escape in the IIS settings (sorry, I don't have a windows server box at the moment to find out where exactly or to test it myself)
 
After Uploading web.config file in httpdocs/download/android-apps I'm Getting 500 internal server error :(
6fdyKOF.png

9pDKkqL.png
 
Thanks... Guys I Have Fixed The Issue What I Did ? :)
hSmAPtV.png

To allow double escaping, you need to GO to IIS Manager, click Request Filtering -> Query Strings tab and on the right click Edit Feature Settings Then Tick On "Allow Double Escaping" Done :)
 
Back
Top