Extranet : configuration
This commit is contained in:
parent
bdccfd1d0d
commit
73f1eda5c3
@ -1,9 +1,14 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName PROJECT_DNS
|
||||
SetEnv APPLICATION_ENV "PROJECT_ENV"
|
||||
AddDefaultCharset utf-8
|
||||
DirectoryIndex index.php
|
||||
DocumentRoot PROJECT_DIR/current/public
|
||||
|
||||
AddDefaultCharset utf-8
|
||||
UseCanonicalName On
|
||||
UseCanonicalPhysicalPort On
|
||||
ServerSignature Off
|
||||
DirectoryIndex index.php
|
||||
|
||||
DocumentRoot PROJECT_DIR/current/public
|
||||
<Directory PROJECT_DIR/current/public/>
|
||||
EnableSendfile Off
|
||||
Options -Indexes
|
||||
@ -23,6 +28,13 @@
|
||||
RewriteRule ^.*$ index.php [NC,L]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory PROJECT_DIR/current/public/assets/>
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine Off
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
|
||||
LogLevel error
|
||||
ErrorLog ${APACHE_LOG_DIR}/extranet-error.log
|
@ -1,10 +1,14 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName PROJECT_DNS
|
||||
SetEnv APPLICATION_ENV "PROJECT_ENV"
|
||||
ServerSignature Off
|
||||
AddDefaultCharset utf-8
|
||||
DirectoryIndex index.php
|
||||
DocumentRoot PROJECT_DIR/current/public
|
||||
|
||||
AddDefaultCharset utf-8
|
||||
UseCanonicalName On
|
||||
UseCanonicalPhysicalPort On
|
||||
ServerSignature Off
|
||||
DirectoryIndex index.php
|
||||
|
||||
DocumentRoot PROJECT_DIR/current/public
|
||||
<Directory PROJECT_DIR/current/public/>
|
||||
Options -Indexes
|
||||
AllowOverride none
|
||||
@ -22,7 +26,14 @@
|
||||
RewriteRule ^.*$ - [NC,L]
|
||||
RewriteRule ^.*$ index.php [NC,L]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Directory PROJECT_DIR/current/public/assets/>
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine Off
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
SetOutputFilter DEFLATE
|
||||
DeflateCompressionLevel 9
|
7
apps/extranet/etc/logrotate.d/extranet
Normal file
7
apps/extranet/etc/logrotate.d/extranet
Normal file
@ -0,0 +1,7 @@
|
||||
/home/vhosts/extranet/shared/log/*.log {
|
||||
rotate 4
|
||||
weekly
|
||||
missingok
|
||||
compress
|
||||
notifempty
|
||||
}
|
Loading…
Reference in New Issue
Block a user