37 lines
859 B
Plaintext
37 lines
859 B
Plaintext
#beginConf
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/SITEname_error.log
|
|
#CustomLog ${APACHE_LOG_DIR}/SITEname_custom.log combined
|
|
|
|
DirectoryIndex index.php index.html index.htm
|
|
DocumentRoot /var/www/DOMAINname/html
|
|
|
|
#Include snippets/apa-ssl.conf
|
|
|
|
<Directory /var/www/DOMAINname/html>
|
|
Options FollowSymLinks
|
|
AllowOverride Limit Options FileInfo
|
|
DirectoryIndex index.php
|
|
Order allow,deny
|
|
Allow from all
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . /index.php [L]
|
|
</IfModule>
|
|
</Directory>
|
|
|
|
<Directory /var/www/DOMAINname/wp-content>
|
|
Options FollowSymLinks
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
|
|
<FilesMatch \.php$>
|
|
SetHandler "proxy:unix:/var/run/php/phpPHPver-fpm-SITEname.sock|fcgi://localhost"
|
|
</FilesMatch>
|
|
|
|
#endConf |