mirror of
https://github.com/litespeedtech/openlitespeed.git
synced 2026-06-19 07:37:10 +00:00
Check in 1.8.5
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
set( CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
Project(openlitespeed VERSION 1.8.4)
|
||||
Project(openlitespeed VERSION 1.8.5)
|
||||
INCLUDE( ${PROJECT_SOURCE_DIR}/CMakeModules/common.cmake)
|
||||
INCLUDE(GNUInstallDirs)
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
70486141724f85e97b08f510673e29f399bbae8f
|
||||
133998f9581fe2ef672d858ffc45a079b533d753
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.69 for openlitespeed 1.8.4.
|
||||
# Generated by GNU Autoconf 2.69 for openlitespeed 1.8.5.
|
||||
#
|
||||
# Report bugs to <info@litespeedtech.com>.
|
||||
#
|
||||
@@ -590,8 +590,8 @@ MAKEFLAGS=
|
||||
# Identity of this package.
|
||||
PACKAGE_NAME='openlitespeed'
|
||||
PACKAGE_TARNAME='openlitespeed'
|
||||
PACKAGE_VERSION='1.8.4'
|
||||
PACKAGE_STRING='openlitespeed 1.8.4'
|
||||
PACKAGE_VERSION='1.8.5'
|
||||
PACKAGE_STRING='openlitespeed 1.8.5'
|
||||
PACKAGE_BUGREPORT='info@litespeedtech.com'
|
||||
PACKAGE_URL='http://www.litespeedtech.com/'
|
||||
|
||||
@@ -1409,7 +1409,7 @@ if test "$ac_init_help" = "long"; then
|
||||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures openlitespeed 1.8.4 to adapt to many kinds of systems.
|
||||
\`configure' configures openlitespeed 1.8.5 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@@ -1480,7 +1480,7 @@ fi
|
||||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of openlitespeed 1.8.4:";;
|
||||
short | recursive ) echo "Configuration of openlitespeed 1.8.5:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
@@ -1641,7 +1641,7 @@ fi
|
||||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
openlitespeed configure 1.8.4
|
||||
openlitespeed configure 1.8.5
|
||||
generated by GNU Autoconf 2.69
|
||||
|
||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
@@ -2315,7 +2315,7 @@ cat >config.log <<_ACEOF
|
||||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by openlitespeed $as_me 1.8.4, which was
|
||||
It was created by openlitespeed $as_me 1.8.5, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
@@ -3181,7 +3181,7 @@ fi
|
||||
|
||||
# Define the identity of the package.
|
||||
PACKAGE='openlitespeed'
|
||||
VERSION='1.8.4'
|
||||
VERSION='1.8.5'
|
||||
|
||||
|
||||
# Some tools Automake needs.
|
||||
@@ -19637,7 +19637,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by openlitespeed $as_me 1.8.4, which was
|
||||
This file was extended by openlitespeed $as_me 1.8.5, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
@@ -19704,7 +19704,7 @@ _ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
openlitespeed config.status 1.8.4
|
||||
openlitespeed config.status 1.8.5
|
||||
configured by $0, generated by GNU Autoconf 2.69,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ m4_include(ax_check_libudns.m4)
|
||||
m4_include(ax_check_ip2location.m4)
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT([openlitespeed],[1.8.4],[info@litespeedtech.com],[openlitespeed],[http://www.litespeedtech.com/])
|
||||
AC_INIT([openlitespeed],[1.8.5],[info@litespeedtech.com],[openlitespeed],[http://www.litespeedtech.com/])
|
||||
AM_INIT_AUTOMAKE([1.0 foreign no-define subdir-objects])
|
||||
|
||||
AC_CONFIG_HEADERS(src/config.h:src/config.h.in)
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
1.8.4
|
||||
1.8.5
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
1.17.4.2
|
||||
1.17.5
|
||||
+2
-1
@@ -36,7 +36,7 @@ abstract class ControlPanel
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const PANEL_API_VERSION = '1.17.4.2';
|
||||
const PANEL_API_VERSION = '1.17.5';
|
||||
|
||||
/**
|
||||
* @since 1.9
|
||||
@@ -1047,6 +1047,7 @@ abstract class ControlPanel
|
||||
public static function checkPanelAPICompatibility( $panelAPIVer )
|
||||
{
|
||||
$supportedAPIVers = array(
|
||||
'1.17.5',
|
||||
'1.17.4.2',
|
||||
'1.17.4.1',
|
||||
'1.17.4',
|
||||
|
||||
@@ -765,8 +765,6 @@ class PanelController
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated release_ver_placeholder
|
||||
*
|
||||
* @return bool|void Function outputs ajax and exits without returning a
|
||||
* value when $init is evaluated to be false.
|
||||
|
||||
+79
-48
@@ -3,15 +3,14 @@
|
||||
/** *********************************************
|
||||
* LiteSpeed Web Server Cache Manager
|
||||
*
|
||||
* @author Michael Alegre
|
||||
* @copyright (c) 2018-2023 LiteSpeed Technologies, Inc.
|
||||
* @author Michael Alegre
|
||||
* @copyright 2018-2025 LiteSpeed Technologies, Inc.
|
||||
* *******************************************
|
||||
*/
|
||||
|
||||
namespace Lsc\Wp;
|
||||
|
||||
use Lsc\Wp\Context\Context;
|
||||
use LsUserPanel\Lsc\UserLSCMException;
|
||||
|
||||
class PluginVersion
|
||||
{
|
||||
@@ -28,10 +27,16 @@ class PluginVersion
|
||||
const DOWNLOAD_DIR = '/usr/src/litespeed-wp-plugin';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @var string Old conf file name.
|
||||
*/
|
||||
const LSCWP_DEFAULTS_INI_FILE_NAME = 'const.default.ini';
|
||||
|
||||
/**
|
||||
* @since 1.17.5
|
||||
* @var string New conf file name.
|
||||
*/
|
||||
const LSCWP_DEFAULTS_JSON_FILE_NAME = 'const.default.json';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@@ -51,13 +56,13 @@ class PluginVersion
|
||||
* @deprecated 4.1.3 Will be removed in favor of $this->shortVersions.
|
||||
* @var string[]
|
||||
*/
|
||||
protected $knownVersions = array();
|
||||
protected $knownVersions = [];
|
||||
|
||||
/**
|
||||
* @since 4.1.3
|
||||
* @var string[]
|
||||
*/
|
||||
protected $shortVersions = array();
|
||||
protected $shortVersions = [];
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
@@ -248,7 +253,8 @@ class PluginVersion
|
||||
protected function setVersionFiles()
|
||||
{
|
||||
$this->versionFile = Context::LOCAL_PLUGIN_DIR . '/lscwp_versions_v2';
|
||||
$this->activeFile = Context::LOCAL_PLUGIN_DIR . '/lscwp_active_version';
|
||||
$this->activeFile =
|
||||
Context::LOCAL_PLUGIN_DIR . '/lscwp_active_version';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -263,7 +269,7 @@ class PluginVersion
|
||||
*/
|
||||
protected function checkOldVersionFiles()
|
||||
{
|
||||
$dataDir = Context::getLSCMDataDir();
|
||||
$dataDir = Context::getLSCMDataDir();
|
||||
$oldActiveFile = "$dataDir/lscwp_active_version";
|
||||
|
||||
if ( file_exists($oldActiveFile) ) {
|
||||
@@ -319,9 +325,11 @@ class PluginVersion
|
||||
*/
|
||||
private function getActiveVersion()
|
||||
{
|
||||
if ( file_exists($this->activeFile)
|
||||
&& ($content = file_get_contents($this->activeFile)) ) {
|
||||
|
||||
if (
|
||||
file_exists($this->activeFile)
|
||||
&&
|
||||
($content = file_get_contents($this->activeFile))
|
||||
) {
|
||||
return trim($content);
|
||||
}
|
||||
|
||||
@@ -386,13 +394,11 @@ class PluginVersion
|
||||
);
|
||||
}
|
||||
|
||||
$matchFound = preg_match(
|
||||
'/allowed\s{(.*)}/sU',
|
||||
trim($content),
|
||||
$m
|
||||
);
|
||||
|
||||
if ( !$matchFound || ($list = trim($m[1])) == '' ) {
|
||||
if (
|
||||
!preg_match('/allowed\s{(.*)}/sU', trim($content), $m)
|
||||
||
|
||||
($list = trim($m[1])) == ''
|
||||
) {
|
||||
throw new LSCMException(
|
||||
'LSCWP version list is empty.',
|
||||
LSCMException::E_NON_FATAL
|
||||
@@ -426,13 +432,11 @@ class PluginVersion
|
||||
);
|
||||
}
|
||||
|
||||
$matchFound = preg_match(
|
||||
'/short\s{(.*)}/sU',
|
||||
trim($content),
|
||||
$m
|
||||
);
|
||||
|
||||
if ( !$matchFound || ($list = trim($m[1])) == '' ) {
|
||||
if (
|
||||
!preg_match('/short\s{(.*)}/sU', trim($content), $m)
|
||||
||
|
||||
($list = trim($m[1])) == ''
|
||||
) {
|
||||
throw new LSCMException(
|
||||
'LSCWP version list is empty.',
|
||||
LSCMException::E_NON_FATAL
|
||||
@@ -498,16 +502,21 @@ class PluginVersion
|
||||
|
||||
/**
|
||||
*
|
||||
* @param bool $isforced
|
||||
* @param bool $isForced
|
||||
*
|
||||
* @throws LSCMException Thrown indirectly by Logger::info() call.
|
||||
*/
|
||||
protected function refreshVersionList( $isforced = false )
|
||||
protected function refreshVersionList( $isForced = false )
|
||||
{
|
||||
clearstatcache();
|
||||
|
||||
if ( $isforced || !file_exists($this->versionFile)
|
||||
|| (time() - filemtime($this->versionFile)) > 86400 ) {
|
||||
if (
|
||||
$isForced
|
||||
||
|
||||
!file_exists($this->versionFile)
|
||||
||
|
||||
(time() - filemtime($this->versionFile)) > 86400
|
||||
) {
|
||||
|
||||
if ( !file_exists(Context::LOCAL_PLUGIN_DIR) ) {
|
||||
$this->createDownloadDir();
|
||||
@@ -550,6 +559,34 @@ class PluginVersion
|
||||
return Util::betterVersionCompare($ver, '1.2.2', '>');
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 1.17.5
|
||||
*
|
||||
* @param string $pluginDir The WordPress plugin directory.
|
||||
*/
|
||||
public static function tryCopyLscwpDefaultConf( $pluginDir )
|
||||
{
|
||||
foreach (
|
||||
[
|
||||
self::LSCWP_DEFAULTS_INI_FILE_NAME,
|
||||
self::LSCWP_DEFAULTS_JSON_FILE_NAME
|
||||
]
|
||||
as
|
||||
$customConfFileName
|
||||
) {
|
||||
$customConfFilePath =
|
||||
Context::LOCAL_PLUGIN_DIR . "/$customConfFileName";
|
||||
|
||||
if ( file_exists($customConfFilePath) ) {
|
||||
copy(
|
||||
$customConfFilePath,
|
||||
"$pluginDir/litespeed-cache/data/$customConfFileName"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks the current installation for existing LSCWP plugin files and
|
||||
* copies them to the installation's plugins directory if not found.
|
||||
@@ -596,7 +633,9 @@ class PluginVersion
|
||||
|
||||
exec(
|
||||
'/bin/cp --preserve=mode -rf '
|
||||
. Context::LOCAL_PLUGIN_DIR . "/$version/" . self::PLUGIN_NAME
|
||||
. Context::LOCAL_PLUGIN_DIR
|
||||
. "/$version/"
|
||||
. self::PLUGIN_NAME
|
||||
. " $pluginDir"
|
||||
);
|
||||
|
||||
@@ -607,16 +646,7 @@ class PluginVersion
|
||||
);
|
||||
}
|
||||
|
||||
$customIni = Context::LOCAL_PLUGIN_DIR . '/'
|
||||
. self::LSCWP_DEFAULTS_INI_FILE_NAME;
|
||||
|
||||
if ( file_exists($customIni) ) {
|
||||
copy(
|
||||
$customIni,
|
||||
"$pluginDir/litespeed-cache/data/"
|
||||
. self::LSCWP_DEFAULTS_INI_FILE_NAME
|
||||
);
|
||||
}
|
||||
self::tryCopyLscwpDefaultConf($pluginDir);
|
||||
|
||||
Logger::debug(
|
||||
'Copied LSCache for WordPress plugin files into plugins directory '
|
||||
@@ -634,15 +664,15 @@ class PluginVersion
|
||||
*/
|
||||
protected function hasDownloadedVersion( $version )
|
||||
{
|
||||
$dir = Context::LOCAL_PLUGIN_DIR . "/$version";
|
||||
$dir = Context::LOCAL_PLUGIN_DIR . "/$version";
|
||||
$md5file = "$dir/" . self::VER_MD5;
|
||||
$plugin = "$dir/" . self::PLUGIN_NAME;
|
||||
$plugin = "$dir/" . self::PLUGIN_NAME;
|
||||
|
||||
if ( !file_exists($md5file) || !is_dir($plugin) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return ( file_get_contents($md5file) == Util::DirectoryMd5($plugin) );
|
||||
return (file_get_contents($md5file) == Util::DirectoryMd5($plugin));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -772,8 +802,7 @@ class PluginVersion
|
||||
exec(
|
||||
'wget -q --tries=1 --no-check-certificate '
|
||||
. 'https://downloads.wordpress.org/translation/plugin/'
|
||||
. "litespeed-cache/$pluginVer/$locale.zip "
|
||||
. "-P $translationDir",
|
||||
. "litespeed-cache/$pluginVer/$locale.zip -P $translationDir",
|
||||
$output,
|
||||
$return_var
|
||||
);
|
||||
@@ -805,9 +834,11 @@ class PluginVersion
|
||||
Context::LOCAL_PLUGIN_DIR . "/$pluginVer/translations/$locale.zip"
|
||||
);
|
||||
|
||||
$realPathStart = substr($zipFile, 0, strlen(Context::LOCAL_PLUGIN_DIR));
|
||||
|
||||
if ( $realPathStart === Context::LOCAL_PLUGIN_DIR ) {
|
||||
if (
|
||||
substr($zipFile, 0, strlen(Context::LOCAL_PLUGIN_DIR))
|
||||
===
|
||||
Context::LOCAL_PLUGIN_DIR
|
||||
) {
|
||||
unlink($zipFile);
|
||||
}
|
||||
}
|
||||
|
||||
+280
-244
@@ -69,7 +69,7 @@ class WPCaller
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private $outputResult = array();
|
||||
private $outputResult = [];
|
||||
|
||||
/**
|
||||
* @var string
|
||||
@@ -116,11 +116,14 @@ class WPCaller
|
||||
*/
|
||||
public static function getInstance(
|
||||
WPInstall $currInstall,
|
||||
$loadLscwp = true )
|
||||
$loadLscwp = true
|
||||
)
|
||||
{
|
||||
if ( self::$instance == null
|
||||
|| self::$instance->currInstall !== $currInstall ) {
|
||||
|
||||
if (
|
||||
self::$instance == null
|
||||
||
|
||||
self::$instance->currInstall !== $currInstall
|
||||
) {
|
||||
self::$instance = new self($currInstall, $loadLscwp);
|
||||
}
|
||||
|
||||
@@ -138,12 +141,15 @@ class WPCaller
|
||||
*/
|
||||
public static function warning_handler( $errno, $errstr )
|
||||
{
|
||||
$strs = array(
|
||||
'ini_set() has been disabled for security reasons',
|
||||
'Constant FS_METHOD already defined'
|
||||
);
|
||||
|
||||
if ( in_array($errstr, $strs) ) {
|
||||
if (
|
||||
in_array(
|
||||
$errstr,
|
||||
[
|
||||
'ini_set() has been disabled for security reasons',
|
||||
'Constant FS_METHOD already defined'
|
||||
]
|
||||
)
|
||||
) {
|
||||
/**
|
||||
* Throw this warning out.
|
||||
*/
|
||||
@@ -172,21 +178,23 @@ class WPCaller
|
||||
*/
|
||||
public static function lock_database( $value, $option, $old_value )
|
||||
{
|
||||
$allowedOptions = array(
|
||||
'litespeed-cache-conf',
|
||||
'_transient_lscwp_whm_install',
|
||||
'active_plugins',
|
||||
'_transient_doing_cron',
|
||||
'_site_transient_update_plugins',
|
||||
'uninstall_plugins'
|
||||
);
|
||||
|
||||
if ( in_array($option, $allowedOptions) ) {
|
||||
if (
|
||||
in_array(
|
||||
$option,
|
||||
[
|
||||
'litespeed-cache-conf',
|
||||
'_transient_lscwp_whm_install',
|
||||
'active_plugins',
|
||||
'_transient_doing_cron',
|
||||
'_site_transient_update_plugins',
|
||||
'uninstall_plugins'
|
||||
]
|
||||
)
|
||||
) {
|
||||
return $value;
|
||||
}
|
||||
else {
|
||||
return $old_value;
|
||||
}
|
||||
|
||||
return $old_value;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -235,11 +243,9 @@ class WPCaller
|
||||
*/
|
||||
public function getDebugMsgs()
|
||||
{
|
||||
$debugMsgs = array();
|
||||
$debugMsgs = [];
|
||||
|
||||
$msgQueue = Logger::getLogMsgQueue();
|
||||
|
||||
foreach ( $msgQueue as $logEntry ) {
|
||||
foreach ( Logger::getLogMsgQueue() as $logEntry ) {
|
||||
$label = Logger::getLvlDescr($logEntry->getLvl());
|
||||
$debugMsgs[] = "[$label] {$logEntry->getMsg()}";
|
||||
}
|
||||
@@ -318,15 +324,11 @@ class WPCaller
|
||||
$advCacheFileContents
|
||||
)
|
||||
{
|
||||
if ( self::advancedCacheFileHasLscacheDefine($advCacheFileContents) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( self::advancedCacheFileHasPlaceholderMsg($advCacheFileContents) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return (
|
||||
self::advancedCacheFileHasLscacheDefine($advCacheFileContents)
|
||||
||
|
||||
self::advancedCacheFileHasPlaceholderMsg($advCacheFileContents)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -338,7 +340,13 @@ class WPCaller
|
||||
*/
|
||||
private function generic3rdPartyAdvCachePluginExists()
|
||||
{
|
||||
if ( Util::betterVersionCompare($this->installedLscwpVer, '3.0.4', '>=') ) {
|
||||
if (
|
||||
Util::betterVersionCompare(
|
||||
$this->installedLscwpVer,
|
||||
'3.0.4',
|
||||
'>='
|
||||
)
|
||||
) {
|
||||
|
||||
if ( file_exists($this->advancedCacheFile) ) {
|
||||
|
||||
@@ -360,9 +368,11 @@ class WPCaller
|
||||
}
|
||||
}
|
||||
}
|
||||
elseif ( !defined('LSCACHE_ADV_CACHE')
|
||||
|| WpConstants::getWpConstant('LSCACHE_ADV_CACHE') !== true ) {
|
||||
|
||||
elseif (
|
||||
!defined('LSCACHE_ADV_CACHE')
|
||||
||
|
||||
WpConstants::getWpConstant('LSCACHE_ADV_CACHE') !== true
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -409,13 +419,15 @@ class WPCaller
|
||||
* Check if plugin files exist first, as status in db could be stale if
|
||||
* LSCWP was removed manually.
|
||||
*/
|
||||
if ( file_exists($this->pluginEntry)
|
||||
&& WpFuncs::isPluginActive(self::LSCWP_PLUGIN) ) {
|
||||
|
||||
if (
|
||||
file_exists($this->pluginEntry)
|
||||
&&
|
||||
WpFuncs::isPluginActive(self::LSCWP_PLUGIN)
|
||||
) {
|
||||
$status |= WPInstall::ST_PLUGIN_ACTIVE;
|
||||
|
||||
//TODO: Get rid of ST_LSC_ADVCACHE_DEFINED status or replace with
|
||||
// new "is caching enabled" define check.
|
||||
// new "is caching enabled" define check.
|
||||
|
||||
if ( $this->generic3rdPartyAdvCachePluginExists() ) {
|
||||
$status |= WPInstall::ST_FLAGGED;
|
||||
@@ -434,12 +446,11 @@ class WPCaller
|
||||
|
||||
if ( $status & WPInstall::ST_FLAGGED ) {
|
||||
|
||||
if ( $install->addUserFlagFile() ) {
|
||||
Logger::notice('Install is flagged');
|
||||
}
|
||||
else {
|
||||
Logger::notice('Install is not flagged');
|
||||
}
|
||||
Logger::notice(
|
||||
'Install is '
|
||||
. (($install->addUserFlagFile()) ? '' : 'not ')
|
||||
. 'flagged'
|
||||
);
|
||||
}
|
||||
|
||||
return $status;
|
||||
@@ -493,27 +504,24 @@ class WPCaller
|
||||
*/
|
||||
private function checkForKnownNonAdvCachePlugins()
|
||||
{
|
||||
$knownPlugins = array(
|
||||
'wp-fastest-cache' => 'wp-fastest-cache/wpFastestCache.php'
|
||||
);
|
||||
/**
|
||||
* Only one plugin at the moment.
|
||||
*/
|
||||
$slug = 'wp-fastest-cache';
|
||||
$plugin = 'wp-fastest-cache/wpFastestCache.php';
|
||||
|
||||
|
||||
foreach ( $knownPlugins as $slug => $plugin ) {
|
||||
/**
|
||||
* Check if plugin files exist first, as status in db could be
|
||||
* stale if plugin files were removed manually.
|
||||
*/
|
||||
$pluginExistsAndIsActive = (
|
||||
/**
|
||||
* Check if plugin files exist first, as status in db could be
|
||||
* stale if plugin files were removed manually.
|
||||
*/
|
||||
if (
|
||||
file_exists(
|
||||
WpConstants::getWpConstant('WP_PLUGIN_DIR') . "/$plugin"
|
||||
)
|
||||
&&
|
||||
WpFuncs::isPluginActive($plugin)
|
||||
);
|
||||
|
||||
if ( $pluginExistsAndIsActive) {
|
||||
return $slug;
|
||||
}
|
||||
) {
|
||||
return $slug;
|
||||
}
|
||||
|
||||
return '';
|
||||
@@ -571,7 +579,6 @@ class WPCaller
|
||||
'Cannot Enable LSCWP - Detected another active cache '
|
||||
. "plugin \"$thirdPartyCachePluginSlug\". Flag set."
|
||||
);
|
||||
|
||||
Logger::notice(
|
||||
'Ignore - Detected another active cache plugin '
|
||||
. "\"$thirdPartyCachePluginSlug\". Flagged."
|
||||
@@ -625,14 +632,16 @@ class WPCaller
|
||||
return UserCommand::EXIT_FAIL;
|
||||
}
|
||||
|
||||
if ( !$isNewInstall ) {
|
||||
$status = $this->enable_lscwp();
|
||||
}
|
||||
else {
|
||||
$status = $this->directEnableNewInstall();
|
||||
}
|
||||
|
||||
$this->outputResult('STATUS', $status);
|
||||
$this->outputResult(
|
||||
'STATUS',
|
||||
(
|
||||
($isNewInstall)
|
||||
?
|
||||
$this->directEnableNewInstall()
|
||||
:
|
||||
$this->enable_lscwp()
|
||||
)
|
||||
);
|
||||
return UserCommand::EXIT_SUCC;
|
||||
}
|
||||
|
||||
@@ -651,8 +660,7 @@ class WPCaller
|
||||
private function directEnableNewInstall()
|
||||
{
|
||||
$pluginDir = WpConstants::getWpConstant('WP_PLUGIN_DIR');
|
||||
|
||||
$lscwpZip = "$pluginDir/litespeed-cache.latest-stable.zip";
|
||||
$lscwpZip = "$pluginDir/litespeed-cache.latest-stable.zip";
|
||||
|
||||
$this->downloadLSCWPZip($lscwpZip);
|
||||
|
||||
@@ -663,23 +671,14 @@ class WPCaller
|
||||
|
||||
if ( $unzipRet !== true ) {
|
||||
throw new LSCMException(
|
||||
"Unable to extract downloaded LSCWP files.",
|
||||
'Unable to extract downloaded LSCWP files.',
|
||||
LSCMException::E_NON_FATAL
|
||||
);
|
||||
}
|
||||
|
||||
$this->currInstall->addNewLscwpFlagFile();
|
||||
|
||||
$customIni = Context::LOCAL_PLUGIN_DIR . '/'
|
||||
. PluginVersion::LSCWP_DEFAULTS_INI_FILE_NAME;
|
||||
|
||||
if ( file_exists($customIni) ) {
|
||||
copy(
|
||||
$customIni,
|
||||
"$pluginDir/litespeed-cache/data/"
|
||||
. PluginVersion::LSCWP_DEFAULTS_INI_FILE_NAME
|
||||
);
|
||||
}
|
||||
PluginVersion::tryCopyLscwpDefaultConf($pluginDir);
|
||||
|
||||
$this->installedLscwpVer = $this->getPluginVersionFromFile();
|
||||
|
||||
@@ -706,7 +705,7 @@ class WPCaller
|
||||
private function downloadLscwpZip( $lscwpZip )
|
||||
{
|
||||
$pluginDir = WpConstants::getWpConstant('WP_PLUGIN_DIR');
|
||||
$url = 'https://downloads.wordpress.org/plugin/'
|
||||
$url = 'https://downloads.wordpress.org/plugin/'
|
||||
. 'litespeed-cache.latest-stable.zip';
|
||||
|
||||
exec(
|
||||
@@ -936,19 +935,41 @@ class WPCaller
|
||||
{
|
||||
$dir = WpConstants::getWpConstant('WP_PLUGIN_DIR') . '/litespeed-cache';
|
||||
|
||||
if ( Util::betterVersionCompare($this->installedLscwpVer, '3.0', '>=') ) {
|
||||
require_once "$dir/src/admin.cls.php";
|
||||
}
|
||||
elseif ( Util::betterVersionCompare($this->installedLscwpVer, '1.1.2.2', '>') ) {
|
||||
require_once "$dir/admin/litespeed-cache-admin.class.php";
|
||||
}
|
||||
else {
|
||||
require_once "$dir/admin/class-litespeed-cache-admin.php";
|
||||
switch (true) {
|
||||
|
||||
case Util::betterVersionCompare(
|
||||
$this->installedLscwpVer,
|
||||
'3.0',
|
||||
'>='
|
||||
):
|
||||
require_once "$dir/src/admin.cls.php";
|
||||
break;
|
||||
|
||||
case Util::betterVersionCompare(
|
||||
$this->installedLscwpVer,
|
||||
'1.1.2.2',
|
||||
'>'
|
||||
):
|
||||
require_once "$dir/admin/litespeed-cache-admin.class.php";
|
||||
break;
|
||||
|
||||
default:
|
||||
require_once "$dir/admin/class-litespeed-cache-admin.php";
|
||||
}
|
||||
|
||||
if ( Util::betterVersionCompare($this->installedLscwpVer, '1.1.0', '<')
|
||||
&& Util::betterVersionCompare($this->installedLscwpVer, '1.0.6', '>') ) {
|
||||
|
||||
if (
|
||||
Util::betterVersionCompare(
|
||||
$this->installedLscwpVer,
|
||||
'1.1.0',
|
||||
'<'
|
||||
)
|
||||
&&
|
||||
Util::betterVersionCompare(
|
||||
$this->installedLscwpVer,
|
||||
'1.0.6',
|
||||
'>'
|
||||
)
|
||||
) {
|
||||
require_once "$dir/admin/class-litespeed-cache-admin-rules.php";
|
||||
}
|
||||
}
|
||||
@@ -979,19 +1000,18 @@ class WPCaller
|
||||
*/
|
||||
private function canUpgrade( array $fromVersions, $toVersion, $massOp )
|
||||
{
|
||||
if ( !file_exists($this->pluginEntry) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( $toVersion == $this->installedLscwpVer ) {
|
||||
if (
|
||||
!file_exists($this->pluginEntry)
|
||||
||
|
||||
$toVersion == $this->installedLscwpVer
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach ( $fromVersions as $fromVer ) {
|
||||
$fromVerParts = explode('.', $fromVer);
|
||||
$installedVerParts = explode('.', $this->installedLscwpVer);
|
||||
|
||||
$i = 0;
|
||||
$i = 0;
|
||||
|
||||
while ( isset($fromVerParts[$i]) ) {
|
||||
$fromVerPart = $fromVerParts[$i];
|
||||
@@ -1000,9 +1020,11 @@ class WPCaller
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( !isset($installedVerParts[$i])
|
||||
|| $installedVerParts[$i] != $fromVerPart ) {
|
||||
|
||||
if (
|
||||
!isset($installedVerParts[$i])
|
||||
||
|
||||
$installedVerParts[$i] != $fromVerPart
|
||||
) {
|
||||
continue 2;
|
||||
}
|
||||
|
||||
@@ -1031,20 +1053,19 @@ class WPCaller
|
||||
{
|
||||
$toVersion = $extraArgs[1];
|
||||
|
||||
$canUpgrade = $this->canUpgrade(
|
||||
explode(',', $extraArgs[0]),
|
||||
$toVersion,
|
||||
$massOp
|
||||
);
|
||||
|
||||
if ( !$canUpgrade ) {
|
||||
if (
|
||||
!$this->canUpgrade(
|
||||
explode(',', $extraArgs[0]),
|
||||
$toVersion,
|
||||
$massOp
|
||||
)
|
||||
) {
|
||||
$this->updateStatus(true);
|
||||
return UserCommand::EXIT_FAIL;
|
||||
}
|
||||
else {
|
||||
$this->upgrade_lscwp($toVersion);
|
||||
return UserCommand::EXIT_SUCC;
|
||||
}
|
||||
|
||||
$this->upgrade_lscwp($toVersion);
|
||||
return UserCommand::EXIT_SUCC;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1076,10 +1097,20 @@ class WPCaller
|
||||
|
||||
if ( $uninstall ) {
|
||||
//Todo: add some msg about having removed plugin files?
|
||||
WpFuncs::deletePlugins(array( self::LSCWP_PLUGIN ));
|
||||
WpFuncs::deletePlugins([ self::LSCWP_PLUGIN ]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.17.5
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function getWpdBlogIds()
|
||||
{
|
||||
return Wpdb::getCol('SELECT blog_id FROM ' . Wpdb::getBlogs() . ';');
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param bool $uninstall
|
||||
@@ -1091,11 +1122,9 @@ class WPCaller
|
||||
private function disable_lscwp( $uninstall )
|
||||
{
|
||||
if ( WpConstants::getWpConstant('MULTISITE') ) {
|
||||
$blogs =
|
||||
Wpdb::getCol("SELECT blog_id FROM " . Wpdb::getBlogs() . ';');
|
||||
|
||||
foreach ( $blogs as $id ) {
|
||||
WpFuncs::switchToBlog($id);
|
||||
foreach ( $this->getWpdBlogIds() as $blogId ) {
|
||||
WpFuncs::switchToBlog($blogId);
|
||||
|
||||
$this->deactivate_lscwp($uninstall);
|
||||
|
||||
@@ -1130,52 +1159,57 @@ class WPCaller
|
||||
|
||||
$status = $this->getCurrStatus();
|
||||
|
||||
if ( !($status & WPInstall::ST_LSC_ADVCACHE_DEFINED) ) {
|
||||
$status = $this->performDisable(true);
|
||||
switch (true) {
|
||||
|
||||
Logger::uiError(
|
||||
'Detected '
|
||||
. "{$this->currInstall->getPath()}/wp-content/advanced-cache.php "
|
||||
. 'as belonging to another cache plugin. Please deactivate '
|
||||
. 'the related cache plugin and try again. You may also '
|
||||
. 'try manually installing through the WordPress Dashboard '
|
||||
. 'and following the instructions given.'
|
||||
);
|
||||
|
||||
$this->massIncr = 'FAIL';
|
||||
}
|
||||
elseif ( $status & WPInstall::ST_PLUGIN_ACTIVE ) {
|
||||
|
||||
if (
|
||||
!is_writable($this->currInstall->getWpConfigFile())
|
||||
&&
|
||||
(
|
||||
!defined('WP_CACHE')
|
||||
||
|
||||
WpConstants::getWpConstant('WP_CACHE') !== true
|
||||
)
|
||||
) {
|
||||
|
||||
/**
|
||||
* LSCACHE_ADV_CACHE is incorrectly defined true at this point.
|
||||
* Detected status must be manually corrected.
|
||||
*/
|
||||
$status &= ~WPInstall::ST_LSC_ADVCACHE_DEFINED;
|
||||
$this->currInstall->setStatus($status);
|
||||
|
||||
$this->currInstall->addUserFlagFile();
|
||||
$status = $this->currInstall->getStatus();
|
||||
case !($status & WPInstall::ST_LSC_ADVCACHE_DEFINED):
|
||||
$status = $this->performDisable(true);
|
||||
|
||||
Logger::uiError(
|
||||
'LSCWP Enabled But Not Caching - Please visit the '
|
||||
. 'WordPress Dashboard for further instructions.'
|
||||
'Detected '
|
||||
. "{$this->currInstall->getPath()}/wp-content/"
|
||||
. 'advanced-cache.php as belonging to another cache '
|
||||
. 'plugin. Please deactivate the related cache plugin '
|
||||
. 'and try again. You may also try manually installing '
|
||||
. 'through the WordPress Dashboard and following the '
|
||||
. 'instructions given.'
|
||||
);
|
||||
}
|
||||
else {
|
||||
Logger::uiSuccess('LSCWP Enabled');
|
||||
}
|
||||
|
||||
$this->massIncr = 'SUCC';
|
||||
$this->massIncr = 'FAIL';
|
||||
break;
|
||||
|
||||
case ($status & WPInstall::ST_PLUGIN_ACTIVE):
|
||||
|
||||
if (
|
||||
!is_writable($this->currInstall->getWpConfigFile())
|
||||
&&
|
||||
(
|
||||
!defined('WP_CACHE')
|
||||
||
|
||||
WpConstants::getWpConstant('WP_CACHE') !== true
|
||||
)
|
||||
) {
|
||||
|
||||
/**
|
||||
* LSCACHE_ADV_CACHE is incorrectly defined true at this point.
|
||||
* Detected status must be manually corrected.
|
||||
*/
|
||||
$status &= ~WPInstall::ST_LSC_ADVCACHE_DEFINED;
|
||||
$this->currInstall->setStatus($status);
|
||||
|
||||
$this->currInstall->addUserFlagFile();
|
||||
$status = $this->currInstall->getStatus();
|
||||
|
||||
Logger::uiError(
|
||||
'LSCWP Enabled But Not Caching - Please visit the '
|
||||
. 'WordPress Dashboard for further instructions.'
|
||||
);
|
||||
}
|
||||
else {
|
||||
Logger::uiSuccess('LSCWP Enabled');
|
||||
}
|
||||
|
||||
$this->massIncr = 'SUCC';
|
||||
break;
|
||||
}
|
||||
|
||||
return $status;
|
||||
@@ -1200,44 +1234,42 @@ class WPCaller
|
||||
$upgraderWrapper->init();
|
||||
$upgraderWrapper->upgradeStrings();
|
||||
|
||||
$lscwpPackageURL =
|
||||
"https://downloads.wordpress.org/plugin/litespeed-cache.$ver.zip";
|
||||
|
||||
if ( $runHooks ) {
|
||||
WpFuncs::addFilter(
|
||||
'upgrader_pre_install',
|
||||
array(
|
||||
[
|
||||
$upgraderWrapper->getWpPluginUpgraderObject(),
|
||||
'deactivate_plugin_before_upgrade'
|
||||
),
|
||||
],
|
||||
10,
|
||||
2
|
||||
);
|
||||
|
||||
WpFuncs::addFilter(
|
||||
'upgrader_clear_destination',
|
||||
array(
|
||||
[
|
||||
$upgraderWrapper->getWpPluginUpgraderObject(),
|
||||
'delete_old_plugin'
|
||||
),
|
||||
],
|
||||
10,
|
||||
4
|
||||
);
|
||||
}
|
||||
|
||||
$upgraderWrapper->run(
|
||||
array(
|
||||
'package' => $lscwpPackageURL,
|
||||
[
|
||||
'package' => 'https://downloads.wordpress.org/plugin/'
|
||||
. "litespeed-cache.$ver.zip",
|
||||
'destination' =>
|
||||
WpConstants::getWpConstant('WP_PLUGIN_DIR'),
|
||||
'clear_destination' => true,
|
||||
'clear_working' => true,
|
||||
'hook_extra' => array(
|
||||
'hook_extra' => [
|
||||
'plugin' => $this->pluginEntry,
|
||||
'type' => 'plugin',
|
||||
'action' => 'update',
|
||||
)
|
||||
)
|
||||
'action' => 'update'
|
||||
]
|
||||
]
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -1252,24 +1284,26 @@ class WPCaller
|
||||
*/
|
||||
WpFuncs::removeFilter(
|
||||
'upgrader_pre_install',
|
||||
array(
|
||||
[
|
||||
$upgraderWrapper->getWpPluginUpgraderObject(),
|
||||
'deactivate_plugin_before_upgrade'
|
||||
)
|
||||
]
|
||||
);
|
||||
|
||||
WpFuncs::removeFilter(
|
||||
'upgrader_clear_destination',
|
||||
array(
|
||||
[
|
||||
$upgraderWrapper->getWpPluginUpgraderObject(),
|
||||
'delete_old_plugin'
|
||||
)
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
if ( !$upgraderWrapper->getResult()
|
||||
|| WpFuncs::isWpError($upgraderWrapper->getResult()) ) {
|
||||
|
||||
if (
|
||||
!$upgraderWrapper->getResult()
|
||||
||
|
||||
WpFuncs::isWpError($upgraderWrapper->getResult())
|
||||
) {
|
||||
throw new LSCMException(
|
||||
"Failed to upgrade to v$ver.",
|
||||
LSCMException::E_NON_FATAL
|
||||
@@ -1309,17 +1343,6 @@ class WPCaller
|
||||
return;
|
||||
}
|
||||
|
||||
$localTranslationDir = Context::LOCAL_PLUGIN_DIR
|
||||
. "/$this->installedLscwpVer/translations";
|
||||
|
||||
$moFileName = "litespeed-cache-$locale.mo";
|
||||
$poFileName = "litespeed-cache-$locale.po";
|
||||
$localMoFile = "$localTranslationDir/$moFileName";
|
||||
$localPoFile = "$localTranslationDir/$poFileName";
|
||||
$zipFile = "$localTranslationDir/$locale.zip";
|
||||
$translationFlag = "$localTranslationDir/"
|
||||
. PluginVersion::TRANSLATION_CHECK_FLAG_BASE . "_$locale";
|
||||
|
||||
$langDir =
|
||||
$this->currInstall->getPath() . '/wp-content/languages/plugins';
|
||||
|
||||
@@ -1327,6 +1350,17 @@ class WPCaller
|
||||
mkdir($langDir, 0755);
|
||||
}
|
||||
|
||||
$localTranslationDir = Context::LOCAL_PLUGIN_DIR
|
||||
. "/$this->installedLscwpVer/translations";
|
||||
$moFileName = "litespeed-cache-$locale.mo";
|
||||
$poFileName = "litespeed-cache-$locale.po";
|
||||
$localMoFile = "$localTranslationDir/$moFileName";
|
||||
$localPoFile = "$localTranslationDir/$poFileName";
|
||||
$zipFile = "$localTranslationDir/$locale.zip";
|
||||
$translationFlag = "$localTranslationDir/"
|
||||
. PluginVersion::TRANSLATION_CHECK_FLAG_BASE
|
||||
. "_$locale";
|
||||
|
||||
if ( file_exists($localMoFile) && file_exists($localPoFile) ) {
|
||||
copy($localMoFile, "$langDir/$moFileName");
|
||||
copy($localPoFile, "$langDir/$poFileName");
|
||||
@@ -1341,9 +1375,11 @@ class WPCaller
|
||||
);
|
||||
}
|
||||
}
|
||||
elseif ( !file_exists($translationFlag)
|
||||
|| (time() - filemtime($translationFlag)) > 86400 ) {
|
||||
|
||||
elseif (
|
||||
!file_exists($translationFlag)
|
||||
||
|
||||
(time() - filemtime($translationFlag)) > 86400
|
||||
) {
|
||||
$this->outputResult(
|
||||
'GET_TRANSLATION',
|
||||
"$locale $this->installedLscwpVer"
|
||||
@@ -1364,9 +1400,7 @@ class WPCaller
|
||||
$advCacheFileContents
|
||||
)
|
||||
{
|
||||
$definePosition = strpos($advCacheFileContents, 'LSCACHE_ADV_CACHE');
|
||||
|
||||
return ($definePosition !== false);
|
||||
return (strpos($advCacheFileContents, 'LSCACHE_ADV_CACHE') !== false);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1384,12 +1418,14 @@ class WPCaller
|
||||
$advCacheFileContent
|
||||
)
|
||||
{
|
||||
$definePosition = strpos(
|
||||
$advCacheFileContent,
|
||||
'A compatibility placeholder for WordPress < v5.3'
|
||||
return (
|
||||
strpos(
|
||||
$advCacheFileContent,
|
||||
'A compatibility placeholder for WordPress < v5.3'
|
||||
)
|
||||
!==
|
||||
false
|
||||
);
|
||||
|
||||
return ($definePosition !== false);
|
||||
}
|
||||
|
||||
private function includeLSCWPAdvancedCacheFile()
|
||||
@@ -1492,11 +1528,9 @@ class WPCaller
|
||||
public function dashDisable( array $extraArgs, $massOp = false )
|
||||
{
|
||||
if ( WpConstants::getWpConstant('MULTISITE') ) {
|
||||
$blogs =
|
||||
Wpdb::getCol('SELECT blog_id FROM ' . Wpdb::getBlogs() . ';');
|
||||
|
||||
foreach ( $blogs as $id ) {
|
||||
WpFuncs::switchToBlog($id);
|
||||
foreach ( $this->getWpdBlogIds() as $blogId ) {
|
||||
WpFuncs::switchToBlog($blogId);
|
||||
|
||||
DashNotifier::deactivate(true);
|
||||
|
||||
@@ -1629,14 +1663,14 @@ class WPCaller
|
||||
return false;
|
||||
}
|
||||
|
||||
$domainCurrentSiteFound = preg_match(
|
||||
'/define\(\s*[\'"]DOMAIN_CURRENT_SITE[\'"]\s*,'
|
||||
. '\s*[\'"](.+)[\'"]\s*\)\s*;/',
|
||||
$config_content,
|
||||
$m2
|
||||
);
|
||||
|
||||
if ( !$domainCurrentSiteFound ) {
|
||||
if (
|
||||
!preg_match(
|
||||
'/define\(\s*[\'"]DOMAIN_CURRENT_SITE[\'"]\s*,'
|
||||
. '\s*[\'"](.+)[\'"]\s*\)\s*;/',
|
||||
$config_content,
|
||||
$m2
|
||||
)
|
||||
) {
|
||||
throw new LSCMException(
|
||||
'Cannot find DOMAIN_CURRENT_SITE with MULTISITE defined.'
|
||||
);
|
||||
@@ -1644,14 +1678,14 @@ class WPCaller
|
||||
|
||||
$this->currInstall->setServerName($m2[1]);
|
||||
|
||||
$pathCurrentSiteFound = preg_match(
|
||||
'/define\(\s*[\'"]PATH_CURRENT_SITE[\'"]\s*,'
|
||||
if (
|
||||
!preg_match(
|
||||
'/define\(\s*[\'"]PATH_CURRENT_SITE[\'"]\s*,'
|
||||
. '\s*[\'"](.+)[\'"]\s*\)\s*;/',
|
||||
$config_content,
|
||||
$m3
|
||||
);
|
||||
|
||||
if ( !$pathCurrentSiteFound ) {
|
||||
$config_content,
|
||||
$m3
|
||||
)
|
||||
) {
|
||||
throw new LSCMException(
|
||||
'Cannot find PATH_CURRENT_SITE with MULTISITE defined.'
|
||||
);
|
||||
@@ -1723,7 +1757,7 @@ class WPCaller
|
||||
*/
|
||||
$_SERVER['SCRIPT_FILENAME'] = "$wpPath/wp-admin/plugins.php";
|
||||
|
||||
if ( ! $this->isMultisite() ) {
|
||||
if ( !$this->isMultisite() ) {
|
||||
$this->setEnvVar('REQUEST_URI', '');
|
||||
}
|
||||
|
||||
@@ -1731,7 +1765,6 @@ class WPCaller
|
||||
* Set for LSCWP v1.1.5.1+ plugin logic.
|
||||
*/
|
||||
if ( $docRoot = $this->currInstall->getDocRoot() ) {
|
||||
|
||||
/**
|
||||
* For enable/disable.
|
||||
*/
|
||||
@@ -1753,7 +1786,7 @@ class WPCaller
|
||||
* Version specific includes may fail on RC releases.
|
||||
*/
|
||||
|
||||
$includeFiles = array(
|
||||
$includeFiles = [
|
||||
'/wp-load.php',
|
||||
'/wp-includes/default-constants.php',
|
||||
'/wp-includes/formatting.php',
|
||||
@@ -1761,7 +1794,7 @@ class WPCaller
|
||||
'/wp-includes/l10n.php',
|
||||
'/wp-includes/class-wp-walker.php',
|
||||
'/wp-includes/capabilities.php'
|
||||
);
|
||||
];
|
||||
|
||||
if ( Util::betterVersionCompare($wp_version, '4.4.0', '>=') ) {
|
||||
$includeFiles[] = '/wp-includes/class-wp-roles.php';
|
||||
@@ -1795,7 +1828,6 @@ class WPCaller
|
||||
$includeFiles[] = '/wp-includes/class-http.php';
|
||||
}
|
||||
|
||||
|
||||
if ( Util::betterVersionCompare($wp_version, '4.6.0', '>=') ) {
|
||||
$includeFiles[] = '/wp-includes/class-wp-http-requests-response.php';
|
||||
}
|
||||
@@ -1848,8 +1880,8 @@ class WPCaller
|
||||
|
||||
self::redefineDisabledFunctions();
|
||||
|
||||
foreach ( $includeFiles as $file ) {
|
||||
$file = $wpPath . $file;
|
||||
foreach ( $includeFiles as $relFilePath ) {
|
||||
$file = $wpPath . $relFilePath;
|
||||
|
||||
if ( !file_exists($file) ) {
|
||||
throw new LSCMException(
|
||||
@@ -1875,7 +1907,7 @@ class WPCaller
|
||||
/**
|
||||
* Do not load other plugins.
|
||||
*/
|
||||
$GLOBALS['wp_plugin_paths'] = array();
|
||||
$GLOBALS['wp_plugin_paths'] = [];
|
||||
|
||||
WpFuncs::wpCookieConstants();
|
||||
|
||||
@@ -1883,27 +1915,31 @@ class WPCaller
|
||||
* Create global wp_query (WordPress) object entry. Needed during
|
||||
* LSCWP uninstall.
|
||||
*/
|
||||
$wpQueryWrapper = new WpQuery();
|
||||
|
||||
$GLOBALS['wp_the_query'] = $wpQueryWrapper->getWpWpQueryObject();
|
||||
$GLOBALS['wp_the_query'] = (new WpQuery())->getWpWpQueryObject();
|
||||
$GLOBALS['wp_query'] = $GLOBALS['wp_the_query'];
|
||||
|
||||
if ( Util::betterVersionCompare($wp_version, '6.1.0', '>=') ) {
|
||||
$wpTextdomainRegistryWrapper = new WpTextdomainRegistry();
|
||||
|
||||
$GLOBALS['wp_textdomain_registry'] =
|
||||
$wpTextdomainRegistryWrapper->getWpWpTextdomainRegistryObject();
|
||||
(new WpTextdomainRegistry())->getWpWpTextdomainRegistryObject();
|
||||
}
|
||||
|
||||
$this->pluginEntry = WpConstants::getWpConstant('WP_PLUGIN_DIR')
|
||||
. '/' . self::LSCWP_PLUGIN;
|
||||
. '/'
|
||||
. self::LSCWP_PLUGIN
|
||||
;
|
||||
|
||||
if ( $this->loadLscwp && file_exists($this->pluginEntry) ) {
|
||||
include $this->pluginEntry;
|
||||
|
||||
$this->installedLscwpVer = $this->getPluginVersionFromFile();
|
||||
|
||||
if ( Util::betterVersionCompare($this->installedLscwpVer, '3.0.4', '<') ) {
|
||||
if (
|
||||
Util::betterVersionCompare(
|
||||
$this->installedLscwpVer,
|
||||
'3.0.4',
|
||||
'<'
|
||||
)
|
||||
) {
|
||||
$this->includeLSCWPAdvancedCacheFile();
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+4
-2
@@ -37,14 +37,16 @@ include("view/inc/nav.php");
|
||||
|
||||
|
||||
<!--
|
||||
<?php echo $footer_lic_info; ?>
|
||||
<?php
|
||||
echo $footer_lic_info;
|
||||
?>
|
||||
-->
|
||||
|
||||
<!-- PAGE FOOTER -->
|
||||
<div class="page-footer">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<span class="txt-color-blueLight">LiteSpeed WebAdmin Console © 2014-2024 <?php DMsg::EchoUIStr('note_copyrightreserved'); ?></span>
|
||||
<span class="txt-color-blueLight">OpenLiteSpeed WebAdmin Console © 2014-<?php echo date('Y') . ' '; DMsg::EchoUIStr('note_copyrightreserved'); ?></span>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-6 text-right hidden-xs">
|
||||
<i class="txt-color-blueLight hidden-mobile"> <i class="fa fa-clock-o"></i>
|
||||
|
||||
+6
-11
@@ -84,7 +84,7 @@ class CAuthorizer
|
||||
{
|
||||
if ($_SESSION['valid'] !== true) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// otherwise enforce referrer exists
|
||||
if (!isset($_SERVER['HTTP_REFERER'])) {
|
||||
return false;
|
||||
@@ -244,17 +244,12 @@ class CAuthorizer
|
||||
|
||||
$lines = explode("\n", $all);
|
||||
foreach ($lines as $line) {
|
||||
list($user, $pass) = explode(':', $line);
|
||||
if ($user === $authUser) {
|
||||
if ($pass[0] != '$')
|
||||
$salt = substr($pass, 0, 2);
|
||||
else
|
||||
$salt = substr($pass, 0, 12);
|
||||
$encypt = crypt($authPass, $salt);
|
||||
if ($pass == $encypt) {
|
||||
$auth = true;
|
||||
break;
|
||||
list($user, $hash) = explode(':', $line);
|
||||
if ( $user == $authUser ) {
|
||||
if (password_verify($authPass, $hash)) {
|
||||
$auth = true ;
|
||||
}
|
||||
break ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+3
-19
@@ -131,21 +131,7 @@ class CValidation
|
||||
|
||||
protected function encryptPass($val)
|
||||
{
|
||||
$valid_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/.";
|
||||
$limit = strlen($valid_chars) - 1;
|
||||
$isMac = (strtoupper(PHP_OS) === 'DARWIN');
|
||||
|
||||
if (CRYPT_MD5 == 1 && !$isMac) {
|
||||
$salt = '$1$';
|
||||
for ($i = 0; $i < 8; $i++) {
|
||||
$salt .= $valid_chars[rand(0, $limit)];
|
||||
}
|
||||
$salt .= '$';
|
||||
} else {
|
||||
$salt = $valid_chars[rand(0, $limit)];
|
||||
$salt .= $valid_chars[rand(0, $limit)];
|
||||
}
|
||||
$pass = crypt($val, $salt);
|
||||
$pass = password_hash($val, PASSWORD_BCRYPT);
|
||||
return $pass;
|
||||
}
|
||||
|
||||
@@ -161,11 +147,9 @@ class CValidation
|
||||
$udb = $this->_disp->Get(DInfo::FLD_ConfData);
|
||||
|
||||
$oldusername = $this->_disp->GetLast(DInfo::FLD_REF);
|
||||
$passwd = $udb->GetChildVal('*index$name:passwd', $oldusername);
|
||||
$oldhash = $udb->GetChildVal('*index$name:passwd', $oldusername);
|
||||
|
||||
$encypt = crypt($oldpass, $passwd);
|
||||
|
||||
if ($encypt != $passwd) {
|
||||
if (!password_verify($oldpass, $oldhash)) {
|
||||
$d->SetChildErr('oldpass', 'Invalid old password!');
|
||||
$isValid = -1;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -267,7 +267,7 @@ class DMsg
|
||||
* Please Note: These language files will be overwritten during software updates.
|
||||
*
|
||||
* @author LiteSpeed Technoglogies
|
||||
* @copyright Copyright (c) LiteSpeed 2014-2024
|
||||
* @copyright Copyright (c) LiteSpeed 2014-' . date('Y') . "\n" . '
|
||||
* @link https://www.litespeedtech.com/
|
||||
*/
|
||||
|
||||
|
||||
+4
-3
@@ -24,9 +24,10 @@ class BuildConfig
|
||||
|
||||
case self::PHP_VERSION:
|
||||
return [
|
||||
'8.4.10',
|
||||
'8.3.23',
|
||||
'8.2.29',
|
||||
'8.5.1',
|
||||
'8.4.16',
|
||||
'8.3.29',
|
||||
'8.2.30',
|
||||
'8.1.33',
|
||||
'8.0.30',
|
||||
'7.4.33',
|
||||
|
||||
Vendored
+1
-1
@@ -76,7 +76,7 @@ if ($msg != '') {
|
||||
</div>
|
||||
<div class="row" style="margin:40px"></div>
|
||||
<div class="footer">
|
||||
<p class="text-center lst-copyright">Copyright © 2014-2024 <a href="https://www.litespeedtech.com">LiteSpeed Technologies, Inc.</a> </p>
|
||||
<p class="text-center lst-copyright">Copyright © 2014-<?php echo date('Y');?> <a href="https://www.litespeedtech.com">LiteSpeed Technologies, Inc.</a> </p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ $no_main_header = false; //set true for lock.php and login.php
|
||||
|
||||
$footer_lic_info = '
|
||||
Open LiteSpeed is an open source HTTP server.
|
||||
Copyright (C) 2013-2024 Lite Speed Technologies, Inc.
|
||||
Copyright (C) 2013-' . date('Y') . ' Lite Speed Technologies, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
Vendored
+2
-18
@@ -1,21 +1,5 @@
|
||||
<?php
|
||||
$raw = $_SERVER['argv'][1];
|
||||
$valid_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/.";
|
||||
$limit = strlen($valid_chars)-1;
|
||||
$isMac = (strtoupper(PHP_OS) === 'DARWIN');
|
||||
if (CRYPT_MD5 == 1 && !$isMac) {
|
||||
$salt = '$1$';
|
||||
for($i = 0; $i < 8; $i++)
|
||||
{
|
||||
$salt .= $valid_chars[rand(0,$limit)];
|
||||
}
|
||||
$salt .= '$';
|
||||
}
|
||||
else
|
||||
{
|
||||
$salt = $valid_chars[rand(0,$limit)];
|
||||
$salt .= $valid_chars[rand(0,$limit)];
|
||||
}
|
||||
$encypt = crypt($raw, $salt);
|
||||
$encypt = password_hash($raw, PASSWORD_BCRYPT);
|
||||
echo "$encypt\n";
|
||||
?>
|
||||
?>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+3
-2
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -108,7 +108,7 @@
|
||||
<section class="toc-row"><header>GZIP/Brotli Compression</header><p>
|
||||
<a href="#enableGzipCompress">Enable GZIP Compression</a> | <a href="#compressibleTypes">Compressible Types</a> | <a href="#enableDynGzipCompress">Enable GZIP Dynamic Compression</a> | <a href="#gzipCompressLevel">GZIP Compression Level (Dynamic Content)</a> | <a href="#gzipAutoUpdateStatic">Auto Update Static File</a> | <a href="#gzipStaticCompressLevel">GZIP Compression Level (Static File)</a> | <a href="#brStaticCompressLevel">Brotli Compression Level (Static File)</a> | <a href="#gzipCacheDir">Static Cache Directory</a> | <a href="#gzipMaxFileSize">Max Static File Size (bytes)</a> | <a href="#gzipMinFileSize">Min Static File Size (bytes)</a></p></section>
|
||||
<section class="toc-row"><header>SSL Global Settings</header><p>
|
||||
<a href="#sslDefaultCiphers">Default Cipher Suite</a> | <a href="#sslStrongDhKey">SSL Strong DH Key</a> | <a href="#sslEnableMultiCerts">Enable Multiple SSL Certificates</a> | <a href="#sslSessionCache">Enable Session Cache</a> | <a href="#sslSessionCacheSize">Session Cache Size (bytes)</a> | <a href="#sslSessionCacheTimeout">Session Cache Timeout (secs)</a> | <a href="#sslSessionTickets">Enable Session Tickets</a> | <a href="#sslSessionTicketLifetime">SSL Session Ticket Lifetime (secs)</a> | <a href="#sslSessionTicketKeyFile">SSL Session Ticket Key File</a> | <a href="#sslOcspProxy">OCSP Proxy</a> | <a href="#sslStrictSni">Strict SNI Certificate</a></p></section>
|
||||
<a href="#sslDefaultCiphers">Default Cipher Suite</a> | <a href="#sslStrongDhKey">SSL Strong DH Key</a> | <a href="#sslEnableMultiCerts">Enable Multiple SSL Certificates</a> | <a href="#sslSessionCache">Enable Session Cache</a> | <a href="#sslSessionCacheSize">Session Cache Size (bytes)</a> | <a href="#sslSessionCacheTimeout">Session Cache Timeout (secs)</a> | <a href="#sslSessionTickets">Enable Session Tickets</a> | <a href="#sslSessionTicketLifetime">SSL Session Ticket Lifetime (secs)</a> | <a href="#sslSessionTicketKeyFile">SSL Session Ticket Key File</a> | <a href="#sslOcspProxy">OCSP Proxy</a> | <a href="#sslStrictSni">Strict SNI Certificate</a> | <a href="#acme">AutoCert with ACME</a></p></section>
|
||||
<section class="toc-row"><header>HTTP3/QUIC</header><p>
|
||||
<a href="#quicEnable">Enable HTTP3/QUIC</a> | <a href="#quicShmDir">QUIC SHM Directory</a> | <a href="#quicVersions">HTTP3/QUIC Versions</a> | <a href="#quicCongestionCtrl">Congestion Control</a> | <a href="#quicCfcw">Connection Flow Control Window</a> | <a href="#quicMaxCfcw">Max Connection Flow Control Window</a> | <a href="#quicSfcw">Stream Flow Control Window</a> | <a href="#quicMaxSfcw">Max Stream Flow Control Window</a> | <a href="#quicMaxStreams">Max Concurrent Streams Per Connection</a> | <a href="#quicHandshakeTimeout">Handshake Timeout</a> | <a href="#quicIdleTimeout">Idle Timeout</a> | <a href="#quicEnableDPLPMTUD">Enable DPLPMTUD</a> | <a href="#quicBasePLPMTU">PLPMTU Base Value</a> | <a href="#quicMaxPLPMTU">PLPMTU Max Value</a></p></section>
|
||||
</section>
|
||||
@@ -155,6 +155,7 @@
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionTicketKeyFile"><h3>SSL Session Ticket Key File<span class="ls-permlink"><a href="#sslSessionTicketKeyFile"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Allows the SSL Ticket Key to be created/maintained by an administrator. The file must be 48 bytes long. If this option is left empty, the load balancer will generate and rotate its own set of keys.<br/><br/> IMPORTANT: To maintain forward secrecy, it is strongly recommended to change the key every <b>SSL Session Ticket Lifetime</b> seconds. If this cannot be done, it is recommended to leave this field empty.</p> <h4>Syntax</h4><p>Path</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslOcspProxy"><h3>OCSP Proxy<span class="ls-permlink"><a href="#sslOcspProxy"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Socket address used as the proxy server address for OCSP verification. Leave this setting unset If not using a proxy.<br/><br/> Default value: <span class="val">not set</span></p> <h4>Syntax</h4><p>Socket Address</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslStrictSni"><h3>Strict SNI Certificate<span class="ls-permlink"><a href="#sslStrictSni"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Specifies whether to strictly require a dedicated virtual host certificate configuration. When enabled, SSL connections to virtual hosts without a dedicated certificate configuration will fail instead of using a default catch-all certificate.<br/><br/> Default value: <span class="val">No</span></p> <h4>Syntax</h4><p>Select from radio box</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="acme"><h3>AutoCert with ACME<span class="ls-permlink"><a href="#acme"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Automatically generate and renew SSL certificates using the Automatic Certificate Management Environment (ACME) certifier protocol (once configured). See more here:<br/> <a href=" https://docs.openlitespeed.org/config/advanced/acme/ " target="_blank" rel="noopener noreferrer"> Automatic SSL Certificates (ACME) </a><br/><br/> Setting this to <span class="val">Disabled</span> at the Server level will disable this setting server-wide. In all other cases, the Server level setting can be overridden at the Virtual Host level.<br/><br/> Default values:<br/> <b>Server level:</b> Off<br/> <b>VH level:</b> Inherit Server level setting</p> <h4>Syntax</h4><p>Select from drop down list</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="quicEnable"><h3>Enable HTTP3/QUIC<span class="ls-permlink"><a href="#quicEnable"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Enables the HTTP3/QUIC network protocol server wide. Default value is <span class="val">Yes</span>.</p> <h4>Syntax</h4><p>Select from radio box</p> <h4>Tips</h4><p><span title="Information" class="ls-icon-info"></span> When this setting is set to <span class="val">Yes</span>, HTTP3/QUIC can still be disabled at the listener level through the <span class="tagl"><a href="Listeners_SSL_Help.html#allowQuic">Open HTTP3/QUIC (UDP) port</a></span> setting, or at the virtual host level through the <span class="tagl"><a href="VHSSL_Help.html#vhEnableQuic">Enable HTTP3/QUIC</a></span> setting.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="quicShmDir"><h3>QUIC SHM Directory<span class="ls-permlink"><a href="#quicShmDir"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Specifies the directory used to save QUIC data to shared memory.<br/><br/> By default, the server's default SHM directory, <span class="val">/dev/shm</span>, will be used.</p> <h4>Syntax</h4><p>Path</p> <h4>Tips</h4><p><span title="Information" class="ls-icon-info"></span> A RAM based partition, such as <span class="val">/dev/shm</span>, is recommended.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="quicVersions"><h3>HTTP3/QUIC Versions<span class="ls-permlink"><a href="#quicVersions"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>A list of enabled HTTP3/QUIC versions. This setting should only be used to limit HTTP3/QUIC support to the versions listed and is best left blank.</p> <h4>Syntax</h4><p>Comma-separated list</p> <h4>Example</h4><div class="ls-example">h3-29, h3-Q050</div><h4>Tips</h4><p><span title="Information" class="ls-icon-info"></span> It is recommended to leave this setting blank to have the the best configuration applied automatically.</p> </article> </div>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+6
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -101,6 +101,8 @@
|
||||
<a href="#keyFile">Private Key File</a> | <a href="#certFile">Certificate File</a> | <a href="#certChain">Chained Certificate</a> | <a href="#CACertPath">CA Certificate Path</a> | <a href="#CACertFile">CA Certificate File</a></p></section>
|
||||
<section class="toc-row"><header>SSL Protocol</header><p>
|
||||
<a href="#ciphers">Ciphers</a> | <a href="#enableECDHE">Enable ECDH Key Exchange</a> | <a href="#enableDHE">Enable DH Key Exchange</a> | <a href="#DHParam">DH Parameter</a></p></section>
|
||||
<section class="toc-row"><header>AutoCert with ACME</header><p>
|
||||
<a href="#acme_vhenable">Enabled</a> | <a href="#acme_dns_type">ACME API dns_type</a> | <a href="#acme_env">Environment</a></p></section>
|
||||
<section class="toc-row"><header>Security</header><p>
|
||||
<a href="#renegProtection">SSL Renegotiation Protection</a> | <a href="#sslSessionCache">Enable Session Cache</a> | <a href="#sslSessionTickets">Enable Session Tickets</a> | <a href="#enableSpdy">ALPN</a> | <a href="#vhEnableQuic">Enable HTTP3/QUIC</a></p></section>
|
||||
<section class="toc-row"><header><a href="#sslOCSP">OCSP Stapling</a></header><p>
|
||||
@@ -118,6 +120,9 @@
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="enableECDHE"><h3>Enable ECDH Key Exchange<span class="ls-permlink"><a href="#enableECDHE"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Allows use of Elliptic Curve Diffie-Hellman key exchange for further SSL encryption.</p> <h4>Syntax</h4><p>Select from radio box</p> <h4>Tips</h4><p><span title="Security" class="ls-icon-security"></span> ECDH key exchange is more secure than using just an RSA key. ECDH and DH key exchange are equally secure.<br/><br/> <span title="Performance" class="ls-icon-performance"></span> Enabling ECDH key exchange will increase CPU load and is slower than using just an RSA key.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="enableDHE"><h3>Enable DH Key Exchange<span class="ls-permlink"><a href="#enableDHE"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Allows use of Diffie-Hellman key exchange for further SSL encryption.</p> <h4>Syntax</h4><p>Select from radio box</p> <h4>Tips</h4><p><span title="Security" class="ls-icon-security"></span> DH key exchange is more secure than using just an RSA key. ECDH and DH key exchange are equally secure.<br/><br/> <span title="Performance" class="ls-icon-performance"></span> Enabling DH key exchange will increase CPU load and is slower than ECDH key exchange and RSA. ECDH key exchange is preferred when available.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="DHParam"><h3>DH Parameter<span class="ls-permlink"><a href="#DHParam"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Specifies the location of the Diffie-Hellman parameter file necessary for DH key exchange.</p> <h4>Syntax</h4><p>Filename which can be an absolute path or a relative path to $SERVER_ROOT.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="acme_vhenable"><h3>Enabled<span class="ls-permlink"><a href="#acme_vhenable"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Automatically generate and renew SSL certificates using the Automatic Certificate Management Environment (ACME) certifier protocol (once configured). See more here:<br/> <a href=" https://docs.openlitespeed.org/config/advanced/acme/ " target="_blank" rel="noopener noreferrer"> Automatic SSL Certificates (ACME) </a><br/><br/> Setting this to <span class="val">Disabled</span> at the Server level will disable this setting server-wide. In all other cases, the Server level setting can be overridden at the Virtual Host level.<br/><br/> Default values:<br/> <b>Server level:</b> Off<br/> <b>VH level:</b> Inherit Server level setting</p> <h4>Syntax</h4><p>Select from drop down list</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="acme_dns_type"><h3>ACME API dns_type<span class="ls-permlink"><a href="#acme_dns_type"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>(Optional) The dns type used when performing wildcard certificate generation API calls. This value will depend on the DNS provider used and is not required when generating non-wildcard certificates. More info on available dns type API values can be found here:<br/> <a href=" https://github.com/acmesh-official/acme.sh/wiki/dnsapi " target="_blank" rel="noopener noreferrer"> acme.sh - How to use DNS API </a><br/><br/> Used with together with setting <span class="tagl"><a href="VHSSL_Help.html#acme_env">Environment</a></span></p> <h4>Example</h4><div class="ls-example">For DNS provider CloudFlare, the dns type value would be <span class="val">dns_cf</span>.</div></article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="acme_env"><h3>Environment<span class="ls-permlink"><a href="#acme_env"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>(Optional) Environment values to be included when performing wildcard certificate generation API calls. The specific values needed will depend on the DNS provider used and are not required when generating non-wildcard certificates. More info on needed environment API values can be found here:<br/> <a href=" https://github.com/acmesh-official/acme.sh/wiki/dnsapi " target="_blank" rel="noopener noreferrer"> acme.sh - How to use DNS API </a><br/><br/> Used with together with setting <span class="tagl"><a href="VHSSL_Help.html#acme_dns_type">ACME API dns_type</a></span></p> <h4>Syntax</h4><p>A list of <span class="val">Key="VALUE"</span> pairs, one per line with each VALUE enclosed in double quotes.</p> <h4>Example</h4><div class="ls-example">For DNS provider CloudFlare the only one required environment value would be <span class="val">CF_Token="YOUR_TOKEN"</span></div></article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="renegProtection"><h3>SSL Renegotiation Protection<span class="ls-permlink"><a href="#renegProtection"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Specifies whether to enable SSL Renegotiation Protection to defend against SSL handshake-based attacks. The default value is "Yes".</p> <h4>Syntax</h4><p>Select from radio box</p> <h4>Tips</h4><p><span title="Information" class="ls-icon-info"></span> This setting can be enabled at the listener and virtual host levels.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionCache"><h3>Enable Session Cache<span class="ls-permlink"><a href="#sslSessionCache"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Enables session ID caching using OpenSSL's default setting. Server-level setting must be set to "Yes" for Virtual Host setting to take effect.<br/><br/> Default values:<br/> <b>Server-level:</b> Yes<br/> <b>VH-Level:</b> Yes</p> <h4>Syntax</h4><p>Select from radio box</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionTickets"><h3>Enable Session Tickets<span class="ls-permlink"><a href="#sslSessionTickets"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Enables session tickets using OpenSSL's default session ticket setting. Server-level setting must be set to "Yes" for Virtual Host setting to take effect.<br/><br/> Default values:<br/> <b>Server-level:</b> Yes<br/> <b>VH-Level:</b> Yes</p> <h4>Syntax</h4><p>Select from radio box</p> </article> </div>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+2
-2
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <span class="current"><a href="index.html"> Users' Manual</a></span>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -103,7 +103,7 @@
|
||||
<br /><br />
|
||||
Users' Manual
|
||||
<br /><br />
|
||||
— Rev. 11
|
||||
— Rev. 12
|
||||
</h1>
|
||||
</header>
|
||||
<hr />
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@
|
||||
<h2 class="ls-text-thin">
|
||||
OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a>
|
||||
</h2>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 11</h3>
|
||||
<h3 class="ls-text-muted">Version 1.8 — Rev. 12</h3>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+3
-4
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
@@ -86,14 +85,14 @@
|
||||
</div>
|
||||
</aside>
|
||||
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">« <a href="ScriptHandler_Help.html">スクリプトハンドラ</a></div><div class="center"><a href="config.html">設定</a></div><div class="next"><a href="Module_Help.html">モジュール設定</a> »</div></div>
|
||||
<h1>App Server Settings</h1><h2 id="top">目次</h2><section class="toc"><section class="toc-row"><header><a href="#railsDefaults">Rack/Rails Default Settings</a></header><p>
|
||||
<h1>App Server Settings</h1><h2 id="top">目次</h2><section class="toc"><section class="toc-row"><header><a href="#railsDefaults">Ruby Rack/Railsの設定</a></header><p>
|
||||
<a href="#rubyBin">Rubyパス</a> | <a href="#appserverEnv">Run-Time Mode</a> | <a href="#maxConns">最大接続数</a> | <a href="#env">環境</a> | <a href="#initTimeout">初期要求タイムアウト(秒)</a> | <a href="#retryTimeout">リトライタイムアウト(秒)</a> | <a href="#pcKeepAliveTimeout">キープアライブタイムアウト(秒)</a> | <a href="#respBuffer">応答バッファリング</a> | <a href="#extMaxIdleTime">最大アイドル時間</a> | <a href="#backlog">バックログ</a> | <a href="#runOnStartUp">起動時に実行</a> | <a href="#extAppPriority">優先度</a> | <a href="#memSoftLimit">メモリソフトリミット(バイト)</a> | <a href="#memHardLimit">メモリハードリミット</a> | <a href="#procSoftLimit">プロセスソフトリミット</a> | <a href="#procHardLimit">プロセスハードリミット</a></p></section>
|
||||
<section class="toc-row"><header><a href="#wsgiDefaults">Python WSGI Default Settings</a></header><p>
|
||||
<a href="#wsgiBin">WSGI Path</a> | <a href="#appserverEnv">Run-Time Mode</a> | <a href="#maxConns">最大接続数</a> | <a href="#env">環境</a> | <a href="#initTimeout">初期要求タイムアウト(秒)</a> | <a href="#retryTimeout">リトライタイムアウト(秒)</a> | <a href="#pcKeepAliveTimeout">キープアライブタイムアウト(秒)</a> | <a href="#respBuffer">応答バッファリング</a> | <a href="#extMaxIdleTime">最大アイドル時間</a> | <a href="#backlog">バックログ</a> | <a href="#runOnStartUp">起動時に実行</a> | <a href="#extAppPriority">優先度</a> | <a href="#memSoftLimit">メモリソフトリミット(バイト)</a> | <a href="#memHardLimit">メモリハードリミット</a> | <a href="#procSoftLimit">プロセスソフトリミット</a> | <a href="#procHardLimit">プロセスハードリミット</a></p></section>
|
||||
<section class="toc-row"><header><a href="#nodeDefaults">Node.js App Default Settings</a></header><p>
|
||||
<a href="#nodeBin">Node Path</a> | <a href="#appserverEnv">Run-Time Mode</a> | <a href="#maxConns">最大接続数</a> | <a href="#env">環境</a> | <a href="#initTimeout">初期要求タイムアウト(秒)</a> | <a href="#retryTimeout">リトライタイムアウト(秒)</a> | <a href="#pcKeepAliveTimeout">キープアライブタイムアウト(秒)</a> | <a href="#respBuffer">応答バッファリング</a> | <a href="#extMaxIdleTime">最大アイドル時間</a> | <a href="#backlog">バックログ</a> | <a href="#runOnStartUp">起動時に実行</a> | <a href="#extAppPriority">優先度</a> | <a href="#memSoftLimit">メモリソフトリミット(バイト)</a> | <a href="#memHardLimit">メモリハードリミット</a> | <a href="#procSoftLimit">プロセスソフトリミット</a> | <a href="#procHardLimit">プロセスハードリミット</a></p></section>
|
||||
</section>
|
||||
<section><div class="helpitem"><article class="ls-helpitem"><div><header id="railsDefaults"><h3>Rack/Rails Default Settings<span class="ls-permlink"><a href="#railsDefaults"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Default configurations for Rack/Rails applications. These settings can be overriden at the context level.</p> </article> </div>
|
||||
<section><div class="helpitem"><article class="ls-helpitem"><div><header id="railsDefaults"><h3>Ruby Rack/Railsの設定<span class="ls-permlink"><a href="#railsDefaults"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Ruby Rack/Railsアプリケーションのデフォルト設定。</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="rubyBin"><h3>Rubyパス<span class="ls-permlink"><a href="#rubyBin"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Ruby実行可能ファイルへの指定されたパス。 Rubyがどこにインストールされているかによって、/usr/bin/ruby又は/usr/local/bin/rubyになります。</p> <h4>構文</h4><p>絶対パス。</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="appserverEnv"><h3>Run-Time Mode<span class="ls-permlink"><a href="#appserverEnv"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Specifies which mode the application will be running as: "Development", "Production", or "Staging". The default is "Production".</p> <h4>構文</h4><p>ドロップダウンリストから選択</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="maxConns"><h3>最大接続数<span class="ls-permlink"><a href="#maxConns"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>サーバーと外部アプリケーションの間で確立できる同時接続の最大数を指定します。 この設定は、外部アプリケーションによって同時に処理できる要求の数を制御しますが、実際の制限は外部アプリケーション自体によっても異なります。 この値を高く設定すると、外部アプリケーションの速度が不十分であるか、多数の同時要求に対応できない場合に役立ちません。</p> <h4>構文</h4><p>整数</p> <h4>ヒント</h4><p>[パフォーマンス]高い値を設定しても、高いパフォーマンスに直接変換されるわけではありません。 制限を外部アプリケーションに負荷をかけない値に設定すると、最高のパフォーマンス/スループットが得られます。</p> </article> </div>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><span class="current"><a href="CGI_Context.html">CGIコンテキスト</a></span></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><span class="current"><a href="LB_Context.html">ロードバランサコンテキスト</a></span></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><span class="current"><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></span></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><span class="current"><a href="Redirect_Context.html">コンテキストのリダイレクト</a></span></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
+1
-2
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
|
||||
Vendored
+4
-4
@@ -15,7 +15,7 @@
|
||||
<img src="../img/ols_logo.svg" alt="openlitespeed logo" width="150px"/>
|
||||
</figure>
|
||||
<h3 class="ls-text-thin">OpenLiteSpeed Web Server <a href="index.html"> ユーザーズマニュアル</a></h3>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 2</h5>
|
||||
<h5 class="ls-text-muted">Version 1.8 — Rev. 3</h5>
|
||||
<hr/>
|
||||
<div>
|
||||
<ul>
|
||||
@@ -68,7 +68,6 @@
|
||||
<li><a href="CGI_Context.html">CGIコンテキスト</a></li>
|
||||
<li><a href="LB_Context.html">ロードバランサコンテキスト</a></li>
|
||||
<li><a href="Redirect_Context.html">コンテキストのリダイレクト</a></li>
|
||||
<li><a href="Rails_Context.html">Rack/Railsのコンテキスト</a></li>
|
||||
<li><a href="Module_Context.html">モジュールハンドラのコンテキスト</a></li>
|
||||
</ul>
|
||||
<li><a href="VHWebSocket_Help.html">Web Socketプロキシ</a></li>
|
||||
@@ -97,7 +96,7 @@
|
||||
<section class="toc-row"><header>GZIP圧縮チューニング</header><p>
|
||||
<a href="#enableGzipCompress">圧縮を有効にする</a> | <a href="#compressibleTypes">圧縮可能なタイプ</a> | <a href="#enableDynGzipCompress">動的圧縮を有効にする</a> | <a href="#gzipCompressLevel">圧縮レベル(動的コンテンツ)</a> | <a href="#gzipAutoUpdateStatic">静的ファイルの自動更新</a> | <a href="#gzipStaticCompressLevel">圧縮レベル(静的コンテンツ)</a> | <a href="#brStaticCompressLevel">Brotli Compression Level (Static File)</a> | <a href="#gzipCacheDir">静的GZIPキャッシュディレクトリ</a> | <a href="#gzipMaxFileSize">最大静的ファイルサイズ(バイト)</a> | <a href="#gzipMinFileSize">最小静的ファイルサイズ(バイト)</a></p></section>
|
||||
<section class="toc-row"><header>SSLグローバル設定</header><p>
|
||||
<a href="#sslDefaultCiphers">Default Cipher Suite</a> | <a href="#sslStrongDhKey">SSL Strong DH Key</a> | <a href="#sslEnableMultiCerts">複数のSSL証明書を有効にする</a> | <a href="#sslSessionCache">セッションキャッシュを有効にする</a> | <a href="#sslSessionCacheSize">セッションキャッシュサイズ(バイト)</a> | <a href="#sslSessionCacheTimeout">セッションキャッシュタイムアウト(秒)</a> | <a href="#sslSessionTickets">セッションチケットを有効にする</a> | <a href="#sslSessionTicketLifetime">SSLセッションチケットの有効期間(秒)</a> | <a href="#sslSessionTicketKeyFile">SSLセッションチケットキーファイル</a> | <a href="#sslOcspProxy">OCSP Proxy</a> | <a href="#sslStrictSni">Strict SNI Certificate</a></p></section>
|
||||
<a href="#sslDefaultCiphers">Default Cipher Suite</a> | <a href="#sslStrongDhKey">SSL強力なDHキー</a> | <a href="#sslEnableMultiCerts">複数のSSL証明書を有効にする</a> | <a href="#sslSessionCache">セッションキャッシュを有効にする</a> | <a href="#sslSessionCacheSize">セッションキャッシュサイズ(バイト)</a> | <a href="#sslSessionCacheTimeout">セッションキャッシュタイムアウト(秒)</a> | <a href="#sslSessionTickets">セッションチケットを有効にする</a> | <a href="#sslSessionTicketLifetime">SSLセッションチケットの有効期間(秒)</a> | <a href="#sslSessionTicketKeyFile">SSLセッションチケットキーファイル</a> | <a href="#sslOcspProxy">OCSP Proxy</a> | <a href="#sslStrictSni">Strict SNI Certificate</a> | <a href="#acme">AutoCert with ACME</a></p></section>
|
||||
<section class="toc-row"><header>HTTP3/QUIC</header><p>
|
||||
<a href="#quicEnable">Enable HTTP3/QUIC</a> | <a href="#quicShmDir">QUIC SHM Directory</a> | <a href="#quicVersions">HTTP3/QUIC Versions</a> | <a href="#quicCongestionCtrl">Congestion Control</a> | <a href="#quicCfcw">Connection Flow Control Window</a> | <a href="#quicMaxCfcw">Max Connection Flow Control Window</a> | <a href="#quicSfcw">Stream Flow Control Window</a> | <a href="#quicMaxSfcw">Max Stream Flow Control Window</a> | <a href="#quicMaxStreams">Max Concurrent Streams Per Connection</a> | <a href="#quicHandshakeTimeout">Handshake Timeout</a> | <a href="#quicIdleTimeout">Idle Timeout</a> | <a href="#quicEnableDPLPMTUD">Enable DPLPMTUD</a> | <a href="#quicBasePLPMTU">PLPMTU Base Value</a> | <a href="#quicMaxPLPMTU">PLPMTU Max Value</a></p></section>
|
||||
</section>
|
||||
@@ -134,7 +133,7 @@
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="gzipMaxFileSize"><h3>最大静的ファイルサイズ(バイト)<span class="ls-permlink"><a href="#gzipMaxFileSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>静的ファイルの最大サイズを指定します。 サーバーは自動的に圧縮ファイルを作成します。</p> <h4>構文</h4><p>1K以上のバイト数</p> <h4>ヒント</h4><p>[パフォーマンス]大規模なファイルに対してサーバーが圧縮ファイルを作成/更新することはお勧めできません。 圧縮は、サーバープロセス全体をブロックし、圧縮が完了するまで、それ以上の要求は処理できません。</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="gzipMinFileSize"><h3>最小静的ファイルサイズ(バイト)<span class="ls-permlink"><a href="#gzipMinFileSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>静的ファイルの最小サイズを指定します。 サーバーは対応する圧縮ファイルを作成します。</p> <h4>構文</h4><p>バイト数は200より小さくない。</p> <h4>ヒント</h4><p><span title="Information" class="ls-icon-info"></span> 帯域幅の節約はごくわずかなため、非常に小さいファイルを圧縮する必要はありません。</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslDefaultCiphers"><h3>Default Cipher Suite<span class="ls-permlink"><a href="#sslDefaultCiphers"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Default cipher suite for SSL certificates.<br/><br/> Default value: Server Internal Default (Based on current best practices)</p> <h4>構文</h4><p>Colon-separated string of cipher specifications.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslStrongDhKey"><h3>SSL Strong DH Key<span class="ls-permlink"><a href="#sslStrongDhKey"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Specifies whether to use 2048 or 1024 bit DH keys for SSL handshakes. If set to "Yes", 2048 bit DH keys will be used for 2048 bit SSL keys and certificates. 1024 bit DH keys will still be used in other situations. Default is "Yes".<br/><br/> Earlier versions of Java do not support DH key size higher than 1024 bits. If Java client compatibility is required, this should be set to "No".</p> <h4>構文</h4><p>radio</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslStrongDhKey"><h3>SSL強力なDHキー<span class="ls-permlink"><a href="#sslStrongDhKey"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>SSLハンドシェイクに2048または1024ビットのDHキーを使用するかどうかを指定します。 「Yes」に設定すると、2048ビットのSSLキーと証明書に2048ビットのDHキーが使用されます。 他の状況でも1024ビットのDHキーが引き続き使用されます。 デフォルトは「はい」です。<br/><br/> 以前のバージョンのJavaでは、1024ビット以上のDHキーサイズはサポートされていません。 Javaクライアントの互換性が必要な場合は、これを「いいえ」に設定する必要があります。</p> <h4>構文</h4><p>ラジオ</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslEnableMultiCerts"><h3>複数のSSL証明書を有効にする<span class="ls-permlink"><a href="#sslEnableMultiCerts"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>リスナー/バーチャルホストが複数のSSL証明書を設定できるようにします。 複数の証明書が有効な場合、証明書/キーは命名規則に従うことが想定されます。 証明書の名前がserver.crtの場合、その他の可能な証明書名はserver.crt.rsa、server.crt.dsa、server.crt.eccです。 「未設定」の場合、デフォルトは「いいえ」です。</p> <h4>構文</h4><p>ラジオボックスから選択</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionCache"><h3>セッションキャッシュを有効にする<span class="ls-permlink"><a href="#sslSessionCache"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>セッションIDキャッシングを有効にします。 「未設定」の場合、デフォルトは「いいえ」です。 (Opensslデフォルト)</p> <h4>構文</h4><p>ラジオボックスから選択</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionCacheSize"><h3>セッションキャッシュサイズ(バイト)<span class="ls-permlink"><a href="#sslSessionCacheSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>キャッシュに格納するSSLセッションIDの最大数を設定します。 デフォルトは1,000,000です。</p> <h4>構文</h4><p>整数</p> </article> </div>
|
||||
@@ -144,6 +143,7 @@
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionTicketKeyFile"><h3>SSLセッションチケットキーファイル<span class="ls-permlink"><a href="#sslSessionTicketKeyFile"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>SSLチケットキーを管理者が作成または維持できるようにします。 ファイルの長さは48バイトでなければなりません。 このオプションを空のままにすると、ロードバランサは独自のキーセットを生成してローテーションします。<br/><br/> 重要:転送秘密を維持するには、<b> SSLセッションチケットの有効期間</b>秒単位でキーを変更することを強くお勧めします。 これができない場合は、このフィールドを空のままにすることをお勧めします。</p> <h4>構文</h4><p>パス</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslOcspProxy"><h3>OCSP Proxy<span class="ls-permlink"><a href="#sslOcspProxy"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Socket address used as the proxy server address for OCSP verification. Leave this setting unset If not using a proxy.<br/><br/> Default value: <span class="val">not set</span></p> <h4>構文</h4><p>Socket Address</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="sslStrictSni"><h3>Strict SNI Certificate<span class="ls-permlink"><a href="#sslStrictSni"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Specifies whether to strictly require a dedicated virtual host certificate configuration. When enabled, SSL connections to virtual hosts without a dedicated certificate configuration will fail instead of using a default catch-all certificate.<br/><br/> Default value: <span class="val">No</span></p> <h4>構文</h4><p>ラジオボックスから選択</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="acme"><h3>AutoCert with ACME<span class="ls-permlink"><a href="#acme"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Automatically generate and renew SSL certificates using the Automatic Certificate Management Environment (ACME) certifier protocol (once configured). See more here:<br/> <a href=" https://docs.openlitespeed.org/config/advanced/acme/ " target="_blank" rel="noopener noreferrer"> Automatic SSL Certificates (ACME) </a><br/><br/> Setting this to <span class="val">Disabled</span> at the Server level will disable this setting server-wide. In all other cases, the Server level setting can be overridden at the Virtual Host level.<br/><br/> Default values:<br/> <b>Server level:</b> Off<br/> <b>VH level:</b> Inherit Server level setting</p> <h4>構文</h4><p>ドロップダウンリストから選択</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="quicEnable"><h3>Enable HTTP3/QUIC<span class="ls-permlink"><a href="#quicEnable"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Enables the HTTP3/QUIC network protocol server wide. Default value is <span class="val">Yes</span>.</p> <h4>構文</h4><p>ラジオボックスから選択</p> <h4>ヒント</h4><p><span title="Information" class="ls-icon-info"></span> When this setting is set to <span class="val">Yes</span>, HTTP3/QUIC can still be disabled at the listener level through the <span class="tagl"><a href="Listeners_SSL_Help.html#allowQuic">Open HTTP3/QUIC (UDP) port</a></span> setting, or at the virtual host level through the <span class="tagl"><a href="VHSSL_Help.html#vhEnableQuic">Enable HTTP3/QUIC</a></span> setting.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="quicShmDir"><h3>QUIC SHM Directory<span class="ls-permlink"><a href="#quicShmDir"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>Specifies the directory used to save QUIC data to shared memory.<br/><br/> By default, the server's default SHM directory, <span class="val">/dev/shm</span>, will be used.</p> <h4>構文</h4><p>Path</p> <h4>ヒント</h4><p><span title="Information" class="ls-icon-info"></span> A RAM based partition, such as <span class="val">/dev/shm</span>, is recommended.</p> </article> </div>
|
||||
<div class="helpitem"><article class="ls-helpitem"><div><header id="quicVersions"><h3>HTTP3/QUIC Versions<span class="ls-permlink"><a href="#quicVersions"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>説明</h4><p>A list of enabled HTTP3/QUIC versions. This setting should only be used to limit HTTP3/QUIC support to the versions listed and is best left blank.</p> <h4>構文</h4><p>Comma-separated list</p> <h4>例</h4><div class="ls-example">h3-29, h3-Q050</div><h4>ヒント</h4><p><span title="Information" class="ls-icon-info"></span> It is recommended to leave this setting blank to have the the best configuration applied automatically.</p> </article> </div>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user