php - Azure App Services File Access -


i've got few files on wwwroot/uploads need publicly accessible anyone.

it throws 404 error, file exists, , url i'm using correct. can guide me configuring access controls folder?

i've tried using .htaccess files (allow all), , tried messing web.config file. no luck though. (the access attributes need applied recursively children of 'uploads' directory.

thanks all!

update:

the problem iis not configured support .mp4 mime type trying use. added in there in main web.config file , works :)

thanks @misaim :)

this due mime type not being enabled media files default. try removing web.config , enabling mp4 or image file , see if errors go away.

https://en.wikipedia.org/wiki/media_type


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -