443 только для Алисы: различия между версиями
Материал из MajorDoMo инфо
Mixman (обсуждение | вклад) (Новая страница: « <pre> <IfModule mod_ssl.c> <VirtualHost *:443> DocumentRoot /var/www/html <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Di...») |
Mixman (обсуждение | вклад) мНет описания правки |
||
Строка 32: | Строка 32: | ||
</Files> | </Files> | ||
<Files | |||
<Directory "/var/www/html/modules/yandexhome/"> | |||
Order allow,deny | |||
Deny from all | |||
<Files "authorize.php"> | |||
Allow from all | Allow from all | ||
</Files> | </Files> | ||
<Files ~ "token | <Files ~ "token.php"> | ||
Allow from all | Allow from all | ||
</Files> | </Files> | ||
<Files ~ "smarthome | <Files ~ "smarthome.php"> | ||
Allow from all | Allow from all | ||
</Files> | </Files> | ||
</Directory> | |||
ErrorLog ${APACHE_LOG_DIR}/error.log | ErrorLog ${APACHE_LOG_DIR}/error.log |
Версия от 20:00, 28 августа 2020
<IfModule mod_ssl.c> <VirtualHost *:443> DocumentRoot /var/www/html <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/html> Options Indexes FollowSymLinks MultiViews AllowOverride All # Order allow,deny # allow from all Order deny,allow Deny from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> <Files ~ “^\.ht”> Order allow,deny Deny from all </Files> <Directory "/var/www/html/modules/yandexhome/"> Order allow,deny Deny from all <Files "authorize.php"> Allow from all </Files> <Files ~ "token.php"> Allow from all </Files> <Files ~ "smarthome.php"> Allow from all </Files> </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> </IfModule>