diff --git a/apps/extranet/config/etc/apache2/vhost.dev.conf b/apps/extranet/etc/apache2/vhost.dev.conf similarity index 72% rename from apps/extranet/config/etc/apache2/vhost.dev.conf rename to apps/extranet/etc/apache2/vhost.dev.conf index b0efdf8..fe53fa6 100644 --- a/apps/extranet/config/etc/apache2/vhost.dev.conf +++ b/apps/extranet/etc/apache2/vhost.dev.conf @@ -1,9 +1,14 @@ 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 EnableSendfile Off Options -Indexes @@ -23,6 +28,13 @@ RewriteRule ^.*$ index.php [NC,L] + + + + RewriteEngine Off + + + # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel error ErrorLog ${APACHE_LOG_DIR}/extranet-error.log diff --git a/apps/extranet/config/etc/apache2/vhost.prod.conf b/apps/extranet/etc/apache2/vhost.prod.conf similarity index 90% rename from apps/extranet/config/etc/apache2/vhost.prod.conf rename to apps/extranet/etc/apache2/vhost.prod.conf index dd5ec46..1d7b9f8 100644 --- a/apps/extranet/config/etc/apache2/vhost.prod.conf +++ b/apps/extranet/etc/apache2/vhost.prod.conf @@ -1,10 +1,14 @@ 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 Options -Indexes AllowOverride none @@ -22,7 +26,14 @@ RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] - + + + + + RewriteEngine Off + + + SetOutputFilter DEFLATE DeflateCompressionLevel 9 diff --git a/apps/extranet/config/etc/cron.d/extranet b/apps/extranet/etc/cron.d/extranet similarity index 100% rename from apps/extranet/config/etc/cron.d/extranet rename to apps/extranet/etc/cron.d/extranet diff --git a/apps/extranet/config/etc/full_php_browscap.ini b/apps/extranet/etc/full_php_browscap.ini similarity index 100% rename from apps/extranet/config/etc/full_php_browscap.ini rename to apps/extranet/etc/full_php_browscap.ini diff --git a/apps/extranet/config/etc/incron.d/bilaninput b/apps/extranet/etc/incron.d/bilaninput similarity index 100% rename from apps/extranet/config/etc/incron.d/bilaninput rename to apps/extranet/etc/incron.d/bilaninput diff --git a/apps/extranet/etc/logrotate.d/extranet b/apps/extranet/etc/logrotate.d/extranet new file mode 100644 index 0000000..4e79918 --- /dev/null +++ b/apps/extranet/etc/logrotate.d/extranet @@ -0,0 +1,7 @@ +/home/vhosts/extranet/shared/log/*.log { + rotate 4 + weekly + missingok + compress + notifempty +} \ No newline at end of file diff --git a/apps/extranet/config/etc/php_browscap.ini b/apps/extranet/etc/php_browscap.ini similarity index 100% rename from apps/extranet/config/etc/php_browscap.ini rename to apps/extranet/etc/php_browscap.ini