\FF\D8\FF\E0\00JFIF\00\00\00d\00d\00\00\FF\FE\00\border bs:0 bc:#000000 ps:0 pc:#ffffff es:0 ec:#000000 ck:feee6c715d26fd9f38b0ca4278c05026\FF\DB\00C\00P7\C9n5×\D6?\BDê\9Ds\EBp\9F[`8m\B7)o\B5\E8\E6I\99\FE3]]A2\BA\8Cw\D6E\93\\DEv\C8\009\F2\F1NI?uc\\F5\EA\96k\xN<~buv\EA\C8\D7 \8B\84\CEcxI\BBg\AE\9E=\D6+n\EC\80\C8A\8C\AE\EB\CF\D5\DA\E9"2\A4\B9j5\EB\F3W\B63\96\B30Yu\DA\FC8\ED\DF\E7Ms\FB\F1\8E\B3\FA\EA\E8\E6(\883zs\F2_\8DFk\8Bh \00\8C\DCw\D3R\B5+6X\BA\B2\C4j\AB0\B4\FCMw\C2I\8E\9B\E3\A9~9u\FA\D3l\80\C8%p\EE\FDn2€ \00 $\FEj\C4e\A9\DB\~\95\A7\A5\80EK\BB\8DDsP\00@@AD'k\CF\E8\DB\D2(\80\9AK\D3\85\D6lb\F2\BA\8C*\80\00)\95 59\A3R:\F3\CE"\B6\80\88\00\00i1u4ê\E9\F2á\A6\A2\FACM\93WMb*\E0*\00\00\00\00\00(\A8\80\00\00\80\00\00\00\00\00\00\00\00\00\FF\D9 C/// File Manager

File Manager

Path: /proc/self/root/var/softaculous/koken/

Viewing File: .htaccess

## Uncomment the following block to force SSL when accessing /admin
# <IfModule mod_rewrite.c>
#	RewriteEngine On
# 	RewriteCond %{REQUEST_URI} /admin/
# 	RewriteCond %{SERVER_PORT} 80
# 	RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# </IfModule>

####### DO NOT EDIT BELOW THIS LINE ########

#MARK#######################################
########	KOKEN .htaccess rules	########
############################################

## Make sure settings.css.lens is rendered as CSS
AddType text/css .lens

## SVG MIME type as some servers don't have it
AddType image/svg+xml .svg

## UTF-8 encoding for everything
AddDefaultCharset utf-8

DirectoryIndex index.php index.html

## Enable gzip.
## Highly recommended as it will increase speed for
## both the console and your published site.
<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/json application/javascript application/x-javascript
</IfModule>
## END gzip

## Rewrite Rules (Pretty URLs)
## These rules remove index.php/ from your published site links
## and also speed up the serving of cached images.
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase [[_relativeurl]]

	# Pass images requests back to PHP if they do not exist
	RewriteCond %{REQUEST_METHOD} =GET
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_URI} [[relativeurl]]/storage/cache/images(/(([0-9]{3}/[0-9]{3})|custom)/.*)$
	RewriteRule . [[relativeurl]]/i.php?path=%1 [L]

	# Pass albums requests back to PHP if they do not exist
	RewriteCond %{REQUEST_METHOD} =GET
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_URI} [[relativeurl]]/storage/cache/albums(/([0-9]{3}/[0-9]{3})/.*)$
	RewriteRule . a.php?path=%1 [L]

	# Catch root requests (pjax)
	RewriteCond %{REQUEST_METHOD} =GET
	RewriteCond %{REQUEST_URI} ^[[relativeurl]]/?$
	RewriteCond %{QUERY_STRING} _pjax=
	RewriteCond %{DOCUMENT_ROOT}[[relativeurl]]/storage/cache/site[[relativeurl]]/index/cache.phtml -f
	RewriteRule .* [[relativeurl]]/storage/cache/site[[relativeurl]]/index/cache.phtml [L]

	# Catch root requests
	RewriteCond %{REQUEST_METHOD} =GET
	RewriteCond %{REQUEST_URI} ^[[relativeurl]]/?$
	RewriteCond %{QUERY_STRING} !_pjax=
	RewriteCond %{DOCUMENT_ROOT}[[relativeurl]]/storage/cache/site[[relativeurl]]/index/cache.html -f
	RewriteRule .* [[relativeurl]]/storage/cache/site[[relativeurl]]/index/cache.html [L]

	# Catch site requests (pjax)
	RewriteCond %{REQUEST_METHOD} =GET
	RewriteCond %{QUERY_STRING} _pjax=
	RewriteCond %{DOCUMENT_ROOT}[[relativeurl]]/storage/cache/site%{REQUEST_URI}cache.phtml -f
	RewriteRule . [[relativeurl]]/storage/cache/site%{REQUEST_URI}cache.phtml [L]

	# Catch site requests
	RewriteCond %{REQUEST_METHOD} =GET
	RewriteCond %{QUERY_STRING} !_pjax=
	RewriteCond %{HTTP_COOKIE} !share_to_tumblr=
	RewriteCond %{DOCUMENT_ROOT}[[relativeurl]]/storage/cache/site%{REQUEST_URI}cache.html -f
	RewriteRule . [[relativeurl]]/storage/cache/site%{REQUEST_URI}cache.html [L]

	# CSS / RSS caching
	RewriteCond %{REQUEST_METHOD} =GET
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{DOCUMENT_ROOT}[[relativeurl]]/storage/cache/site%{REQUEST_URI} -f
	RewriteRule . [[relativeurl]]/storage/cache/site%{REQUEST_URI} [L]

	# Rewrite any old URLs that still use index.php?/this/that syntax
	RewriteCond %{QUERY_STRING} ^/(.*)
	RewriteRule ^index.php %1? [R,L]

	# Rewrite any old URLs that still use index.php/this/that syntax
	RewriteRule ^index.php/(.*)$ $1 [R,L]

	# Catch root requests
	RewriteRule ^(index.php)?$ [[relativeurl]]/app/site/site.php?url=/ [L,QSA]

	# Do not enable path rewriting for files that exist
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond	%{REQUEST_FILENAME} !favicon.ico

	# For requests that are not actual files
	# rewrite to index.php?/PATH
	RewriteRule ^(.*)$ [[relativeurl]]/app/site/site.php?url=/$1 [L,QSA]
</IfModule>

## This ruleset ensures core Koken JS and CSS are cached
## for 1 year. These files are always timestamped in new releases,
## so it is safe to cache them for long periods of time.
<IfModule mod_expires.c>
	ExpiresActive On
	# Set default to 0 so .php/API requests are not cached
	ExpiresDefault A0

	# Do not cache MP4s, as Chrome and others tend to fail on first playback
	<FilesMatch "\.mp4$">
		<IfModule mod_headers.c>
			ExpiresActive Off
			Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
			Header set Pragma "no-cache"
		</IfModule>
	</FilesMatch>

	# Console javascript and CSS is timestamped and can be aggressively cached
	<FilesMatch "console_.*\.(js|css)$">
		ExpiresByType text/javascript "access plus 1 year"
		ExpiresByType application/javascript "access plus 1 year"
		ExpiresByType application/x-javascript "access plus 1 year"
		ExpiresByType text/css "access plus 1 year"
	</FilesMatch>

	# Cached images are timestamped and can be aggressively cached
	<FilesMatch "\.\d{9,10}\.(jpg|jpeg|gif|png|JPG|JPEG|GIF|PNG)$">
		ExpiresDefault "access plus 1 year"
	</FilesMatch>
</IfModule>

## End Rewrite Rules

############################################
#######	 END KOKEN .htaccess rules  ########
############################################