Listen 0.0.0.0:[PORT]
Listen [::]:[PORT]

# Virtualhost start - do not remove this line
<VirtualHost *:[PORT]>
	ServerName [SERVERNAME]
	DocumentRoot [DOCUMENTROOT]
	KeepAlive Off
	<IfModule userdir_module>
		UserDir disabled
	</IfModule>
	<Directory "[DIRECTORY]">
		AllowOverride None
		Options -ExecCGI -Includes -IncludesNOEXEC -Indexes -MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
	</Directory>
	<Directory "[DOCUMENTROOT]">
		AllowOverride None
		Options -ExecCGI -Includes -IncludesNOEXEC -Indexes -MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
		Require all granted
		DirectoryIndex index.php index.html index.htm
		<IfModule mod_rewrite.c>
			RewriteEngine On
			RewriteCond %{REQUEST_FILENAME} !-f
			RewriteCond %{REQUEST_FILENAME} !-d
			RewriteRule ^ /index.php [L,QSA]
		</IfModule>
	</Directory>
	<IfModule suphp_module>
		suPHP_Engine On
		suPHP_UserGroup [USER] [USER]
	</IfModule>
	<IfModule suexec_module>
		<IfModule !mod_ruid2.c>
			SuexecUserGroup [USER] [USER]
		</IfModule>
	</IfModule>
	<IfModule ruid2_module>
		RMode config
		RUidGid [USER] [USER]
	</IfModule>
	<IfModule mpm_itk.c>
		AssignUserID [USER] [USER]
	</IfModule>
	<IfModule mod_lsapi.c>
		lsapi_user_group [USER] [USER]
	</IfModule>
	<FilesMatch "\.(inc|php)$">
		[PHPHANDLER]
	</FilesMatch>
</VirtualHost>
# Virtualhost end - do not remove this line
