-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopy apache.txt
54 lines (54 loc) · 2.11 KB
/
copy apache.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<VirtualHost 127.0.0.1:8080>
ServerName moon.rfbl.ru
DocumentRoot /var/www/www-root/data/www/moon.rfbl.ru/lunar_walker_portal/public
ServerAdmin [email protected]
AddDefaultCharset UTF-8
AssignUserID www-root www-root
CustomLog /var/www/httpd-logs/moon.rfbl.ru.access.log combined
ErrorLog /var/www/httpd-logs/moon.rfbl.ru.error.log
<FilesMatch "\.ph(p[3-5]?|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<IfModule php5_module>
Include /etc/apache2/users-php/www-root.conf
Include /etc/apache2/vhosts-php/moon.rfbl.ru.conf
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected]"
php_admin_value upload_tmp_dir "/var/www/www-root/data/mod-tmp"
php_admin_value session.save_path "/var/www/www-root/data/mod-tmp"
php_admin_value open_basedir "/var/www/www-root/data:."
</IfModule>
<IfModule php7_module>
Include /etc/apache2/users-php/www-root.conf
Include /etc/apache2/vhosts-php/moon.rfbl.ru.conf
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected]"
php_admin_value upload_tmp_dir "/var/www/www-root/data/mod-tmp"
php_admin_value session.save_path "/var/www/www-root/data/mod-tmp"
php_admin_value open_basedir "/var/www/www-root/data:."
</IfModule>
<IfModule php_module>
Include /etc/apache2/users-php/www-root.conf
Include /etc/apache2/vhosts-php/moon.rfbl.ru.conf
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected]"
php_admin_value upload_tmp_dir "/var/www/www-root/data/mod-tmp"
php_admin_value session.save_path "/var/www/www-root/data/mod-tmp"
php_admin_value open_basedir "/var/www/www-root/data:."
</IfModule>
SetEnvIf X-Forwarded-Proto https HTTPS=on
ServerAlias www.moon.rfbl.ru
DirectoryIndex index.php index.html
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
</VirtualHost>
<Directory /var/www/www-root/data/www/moon.rfbl.ru>
Options +Includes -ExecCGI
<IfModule php5_module>
php_admin_flag engine on
</IfModule>
<IfModule php7_module>
php_admin_flag engine on
</IfModule>
<IfModule php_module>
php_admin_flag engine on
</IfModule>
</Directory>