Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > a32585fcac51c3e08c1bf2747944fc27 > files > 7

acme-2.0.0-1.mga7.noarch.rpm

# Virtual host configuration
<VirtualHost *:80>
	# Set server name
	ServerName example.com

	# If rewrite module is available (or <IfModule mod_rewrite.c>)
	<IfModule rewrite_module>
		# Start rewrite engine
		RewriteEngine on

		# Inherit acme.conf rules
		RewriteOptions InheritBefore

		# Force redirection on https version
		## Only if https is disabled
		##RewriteCond %{HTTPS} off
		## Rewrite acme uri on php script
		##RewriteRule (/.*) https://%{SERVER_NAME}$1 [R=301,L]
	</IfModule>
</VirtualHost>