Enrichissement : Configuration
This commit is contained in:
parent
6e485bd7dc
commit
b947b9566c
35
apps/enrichissement/etc/apache2/vhost.conf
Normal file
35
apps/enrichissement/etc/apache2/vhost.conf
Normal 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>
|
2
apps/enrichissement/etc/cron.d/enrichissement
Normal file
2
apps/enrichissement/etc/cron.d/enrichissement
Normal 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
|
Loading…
Reference in New Issue
Block a user