14 lines
395 B
Plaintext
14 lines
395 B
Plaintext
/etc/apache2/apache2.conf -----------------------
|
|
ServerSignature Off
|
|
ServerTokens Prod
|
|
|
|
/etc/php/8.3/apache2/php.ini -------------------
|
|
expose_php = Off
|
|
|
|
|
|
chown -R www-data:www-data /var/www/html/presta
|
|
find . -type f -exec chmod 644 -- {} + to set proper permissions for all files
|
|
find . -type d -exec chmod 755 -- {} + to set proper permissions for all directories
|
|
chmod 666 .htaccess
|
|
|