Your IP : 216.73.216.220


Current Path : /home/deltalab/Magento/docker-magento2/magento2/manager/magento2/apache/
Upload File :
Current File : //home/deltalab/Magento/docker-magento2/magento2/manager/magento2/apache/000-default.conf

# MAGENTO2 MANAGER

#
#
<VirtualHost *:80>

	DocumentRoot /var/www/dev/magento2/pub
	RemoteIPHeader X-Forwarded-For

	#####################################################
	# ADMIN
	#####################################################
	Alias /adm1n/mage2/phpRedisAdmin "/var/www/dev/phpRedisAdmin/"
	Alias /adm1n/mage2/phpMemcacheAdmin "/var/www/dev/phpMemcacheAdmin/"

	#####################################################
	# MAGENTO
	#####################################################
	<Directory /var/www/dev/phpRedisAdmin>
		Options -Indexes +Multiviews +FollowSymLinks
		AllowOverride None
		AuthType Basic
		AuthName "Restricted Content"
		AuthUserFile /etc/apache2/.htpasswd
		Require valid-user
	</Directory>

	<Directory /var/www/dev>
	 Options -Indexes +Multiviews +FollowSymLinks
		AllowOverride All
		Require all granted
	</Directory>

	# ifmodules
	#Include ifmodule.conf

	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
	# error, crit, alert, emerg.
	# It is also possible to configure the loglevel for particular
	# modules, e.g.
	#LogLevel info ssl:warn

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

	## EXPIRES CACHING ##
	<IfModule mod_expires.c>
		ExpiresActive On
		ExpiresByType image/jpg "access 1 year"
		ExpiresByType image/jpeg "access 1 year"
		ExpiresByType image/gif "access 1 year"
		ExpiresByType image/png "access 1 year"
		ExpiresByType text/css "access 1 month"
		ExpiresByType text/html "access 1 month"
		ExpiresByType application/pdf "access 1 month"
		ExpiresByType text/x-javascript "access 1 month"
		ExpiresByType application/x-shockwave-flash "access 1 month"
		ExpiresByType image/x-icon "access 1 year"
		ExpiresDefault "access 1 month"
	</IfModule>
	## EXPIRES CACHING ##
	## COMPRESSION ##
	<IfModule mod_deflate.c>
		############################################
		## enable apache served files compression
		## http://developer.yahoo.com/performance/rules.html#gzip

			# Insert filter on all content
			SetOutputFilter DEFLATE
			# Insert filter on selected content types only
			AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript

			# Netscape 4.x has some problems...
			BrowserMatch ^Mozilla/4 gzip-only-text/html

			# Netscape 4.06-4.08 have some more problems
			BrowserMatch ^Mozilla/4\.0[678] no-gzip

			# MSIE masquerades as Netscape, but it is fine
			BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

			# Don't compress images
			SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

			# Make sure proxies don't deliver the wrong content
			# Header append Vary User-Agent env=!dont-vary

	</IfModule>
	## COMPRESSION ##
</VirtualHost>