Fix
This commit is contained in:
31
docker/apache/vhosts.conf
Normal file
31
docker/apache/vhosts.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName admin
|
||||
ServerAlias localhost
|
||||
DocumentRoot /var/www/html
|
||||
|
||||
# Alias для пути /cite_practica/
|
||||
Alias /cite_practica /var/www/html/cite_practica
|
||||
|
||||
<Directory /var/www/html>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /var/www/html/cite_practica>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
DirectoryIndex cite_mebel.php index.php index.html
|
||||
</Directory>
|
||||
|
||||
# Настройка PHP
|
||||
<FilesMatch \.php$>
|
||||
SetHandler application/x-httpd-php
|
||||
</FilesMatch>
|
||||
|
||||
# Логи
|
||||
ErrorLog ${APACHE_LOG_DIR}/cite_practica_error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/cite_practica_access.log combined
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user