443 только для Алисы

Материал из MajorDoMo инфо
<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>