Enrichissement : Configuration

This commit is contained in:
Michael RICOIS 2017-02-20 10:17:38 +01:00
parent 6e485bd7dc
commit b947b9566c
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<VirtualHost *:8000>
ServerName PROJECT_DNS
SetEnv APPLICATION_ENV "PROJECT_ENV"
AddDefaultCharset utf-8
UseCanonicalName On
UseCanonicalPhysicalPort On
ServerSignature On
DirectoryIndex index.php
DocumentRoot PROJECT_DIR/current/public
<Directory PROJECT_DIR/current/public/>
Options FollowSymLinks Indexes
AllowOverride None
Require all granted
<Files ~ "^\.user.ini">
Order allow,deny
Deny from all
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
</Directory>
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel error
ErrorLog ${APACHE_LOG_DIR}/enrichissement-error.log
CustomLog ${APACHE_LOG_DIR}/enrichissement-access.log combined
</VirtualHost>

View File

@ -0,0 +1,2 @@
# Enrichissement
*/5 * * * * www-data php /home/vhosts/enrichissement/current/scripts/cron.php >> /home/vhosts/data/enrichissement/cron.log 2>&1