logo logo
Limit upload file by extention

Limit upload file by extention

Just when i am forget <VirtualHost *:80> # ... <Directory /path/to/webroot/path/to/upload/folder> deny from all <Files ~ "^\w+\.(gif|jpe?g|png)$"> ...
bottom