У пользователя веб-сервера должно быть разрешение записи на загрузках / каталог?

Что делает

% munin-node-configure --suggest | grep apache
apache_accesses            | no   | no [Port 80: Forbidden]                
apache_processes           | no   | no [Port 80: Forbidden]                
apache_volume              | no   | no [Port 80: Forbidden]    

возвратиться?

0
задан 20 August 2012 в 19:32
1 ответ

Your temporary file idea sounds like a fine idea to me.

Whatever directory the temporary files are uploaded to will need to be writable by the user that your code runs as (typically the webserver, especially when using mod_whatever).

Furthermore, this directory needs to be outside of the DocumentRoot. Whatever anyone uploads there should not be on the internet until it has been vetted. This keeps your server from being used in an email telling me that my logons have been disabled and I need to go to http://example.com/uploads/yourbank.php to fix it.

1
ответ дан 4 December 2019 в 21:41

Теги

Похожие вопросы