-
Notifications
You must be signed in to change notification settings - Fork 2
/
akeneo2sample.conf
33 lines (25 loc) · 944 Bytes
/
akeneo2sample.conf
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
<VirtualHost *:80>
ServerName akeneo-pim.local
DocumentRoot /path/to/installation/pim-community-standard/web
<Directory /path/to/installation/pim-community-standard/web>
AllowOverride None
Require all granted
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</Directory>
<Directory /path/to/installation/pim-community-standard>
Options FollowSymlinks
</Directory>
<Directory /path/to/installation/pim-community-standard/web/bundles>
RewriteEngine Off
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php7.1-fpm.sock|fcgi://localhost/"
</FilesMatch>
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
ErrorLog ${APACHE_LOG_DIR}/akeneo-pim_error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/akeneo-pim_access.log combined
</VirtualHost>