Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
AddDefaultCharset UTF-8
AddType image/webp .webp
Options -Indexes
# set php error reporting to E_ALL & ~E_NOTICE (=32759)
# for PHP 7:
<IfModule mod_php7.c>
php_value error_reporting 32759
php_value default_charset UTF-8
php_value request_order GPC
</IfModule>
# for PHP 8 and later:
<IfModule mod_php.c>
php_value error_reporting 32759
php_value default_charset UTF-8
php_value request_order GPC
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^zkrss\.php$ index.php?target=rss [QSA,L]
RewriteRule ^zk-feed-reader\.xslt$ controllers/RSS.xslt [QSA,L]
RewriteRule ^ssoLogin\.php$ index.php?target=sso [QSA,L]
RewriteCond $0 !^\.mdhandler.php/.*$
RewriteRule ^(.+)\.md$ .mdhandler.php?asset=/$1.md [L]
RewriteRule ^zk$ - [R=404,L]
# The URI below is an arbitrary endpoint for internal use.
# It can be any available localhost port. There should be
# no need to change it, but if you do, you must also update
# the WSSERVER_PORT constant in the PushServer controller.
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*) "ws://127.0.0.1:32080/$1" [P,L]
</IfModule>