Bug fix to Remote Backups
14
install/openlitespeed/dist/Example/html/blocked/index.html
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Blocked page</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div align="Center"><br>
|
||||
<h1>You should not be able to see this page unlesss remove the "/blocked/" context.</h1>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
7214
install/openlitespeed/dist/Example/html/css/bootstrap.min.css
vendored
Normal file
465
install/openlitespeed/dist/Example/html/css/custom.css
vendored
Normal file
@@ -0,0 +1,465 @@
|
||||
h1 {
|
||||
margin: .67em 0;
|
||||
font-size: 2em;
|
||||
color: #888;
|
||||
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #666699;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:focus,a:hover {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
/*a:focus {
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
outline-offset: -2px;
|
||||
}*/
|
||||
ul {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
color: #888;
|
||||
/* [disabled]vertical-align: bottom; */
|
||||
}
|
||||
|
||||
.container {
|
||||
padding-right: 0px;
|
||||
padding-left: 0px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.container {
|
||||
width: auto
|
||||
}
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-right: -10px;
|
||||
margin-left: -10px;
|
||||
min-height: 50px;
|
||||
display: inherit;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
/* [disabled]alignment-adjust: middle; */
|
||||
}
|
||||
|
||||
.nav>li>a:focus,.nav>li>a:hover {
|
||||
text-decoration: none;
|
||||
background-color: rgba(0,0,0,0.25);
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
position: fixed;
|
||||
min-height: 50px;
|
||||
margin-bottom: 20px;
|
||||
border: 1px transparent #f8f8ff;
|
||||
background-color: rgba(230,230,230,0.8);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar-nav {
|
||||
float: left;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.navbar-nav>li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navbar-nav>li>a {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
color: #669;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-right {
|
||||
float: right!important;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9 {
|
||||
position: relative;
|
||||
min-height: 50px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.col-sm-2 {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.col-md-4 {
|
||||
width: 25%;
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
.col-md-3 {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.col-md-2 {
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
.col-md-offset-1 {
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
.col-xs-5ths, .col-sm-5ths, .col-md-5ths, .col-lg-5ths {
|
||||
position: relative;
|
||||
min-height: 500px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.col-xs-5ths {
|
||||
width: 15%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.col-sm-5ths {
|
||||
width: 15%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.col-md-5ths {
|
||||
width: 15%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.col-lg-5ths {
|
||||
width: 15%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 6px 12px;
|
||||
margin-bottom: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 1.42857143;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px
|
||||
}
|
||||
|
||||
.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus {
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
outline-offset: -2px;
|
||||
background-color: #36C;
|
||||
}
|
||||
|
||||
.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover {
|
||||
color: #333;
|
||||
background-color: #d4d4d4;
|
||||
border-color: #8c8c8c;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #666699;
|
||||
border-color: #666699;
|
||||
}
|
||||
|
||||
.btn-primary.focus,.btn-primary:focus {
|
||||
color: #fff;
|
||||
background-color: #666699;
|
||||
border-color: #666699;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
color: #fff;
|
||||
background-color: #6666CC;
|
||||
border-color: #6666CC;
|
||||
}
|
||||
|
||||
.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #6666CC;
|
||||
border-color: #6666CC;
|
||||
}
|
||||
|
||||
.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover {
|
||||
color: #fff;
|
||||
background-color: #666699;
|
||||
border-color: #122b40;
|
||||
}
|
||||
|
||||
.btn-warning {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.container .jumbotron,.container-fluid .jumbotron {
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
/* [disabled]border-radius:6px; */
|
||||
}
|
||||
|
||||
.jumbotron {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
margin-bottom: 30px;
|
||||
color: #FFF;
|
||||
background-color: #3f3664;
|
||||
}
|
||||
|
||||
.jumbotron .h1,.jumbotron h1 {
|
||||
/* color: #FFF;*/
|
||||
}
|
||||
|
||||
.jumbotron p {
|
||||
margin-bottom: 15px;
|
||||
font-size: 24px;
|
||||
font-weight: 200;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.img-size {
|
||||
width:40%;
|
||||
}
|
||||
|
||||
.modalDialog {
|
||||
position: fixed;
|
||||
/* font-family: "Open Sans", "Adobe Garamond Pro";*/
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
color:#333;
|
||||
z-index: 99999;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 400ms ease-in;
|
||||
-moz-transition: opacity 400ms ease-in;
|
||||
transition: opacity 400ms ease-in;
|
||||
pointer-events: none;
|
||||
/* [disabled]padding-left: 50px; */
|
||||
/* [disabled]padding-right: 50px; */
|
||||
}
|
||||
|
||||
.modalDialog:target {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.modalDialog > div {
|
||||
width: 720px;
|
||||
position: relative;
|
||||
margin: 10% auto;
|
||||
padding: 5px 20px 13px 20px;
|
||||
border-radius: 5px;
|
||||
background: #fff;
|
||||
/* [disabled]background: -moz-linear-gradient(#fff, #999); */
|
||||
/* [disabled]background: -webkit-linear-gradient(#fff, #999); */
|
||||
/* [disabled]background: -o-linear-gradient(#fff, #999); */
|
||||
}
|
||||
|
||||
.modalDialog .close {
|
||||
color: #666666;
|
||||
font-size:18px;
|
||||
/* line-height: inherit; */
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
text-align: center;
|
||||
/* top: 0px; */
|
||||
width: 24px;
|
||||
/* text-decoration: none; */
|
||||
/* -webkit-border-radius: 5px; */
|
||||
-moz-border-radius: 5px;
|
||||
-moz-box-shadow: 1px 1px 3px #000;
|
||||
/* -webkit-box-shadow: 1px 1px 3px #000; */
|
||||
}
|
||||
|
||||
.modalDialog .close a:focus, .modalDialog .close a:hover {
|
||||
color: #FF9900;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
opacity: 1;
|
||||
cursor: pointer;
|
||||
/* [disabled]filter: alpha(opacity=50); */
|
||||
|
||||
}
|
||||
|
||||
.modalDialog p {
|
||||
font-size: 18px;
|
||||
text-align: justify;
|
||||
padding-left: 5%;
|
||||
padding-right: 5%;
|
||||
padding-bottom: 30px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.modalDialog a {
|
||||
font-weight:600;
|
||||
}
|
||||
|
||||
.modalDialog a:hover {
|
||||
font-weight: 600;
|
||||
color: #66C;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.modalDialog h1 {
|
||||
color:#333;
|
||||
}
|
||||
|
||||
|
||||
.list-group-item {
|
||||
padding: 10px 30px;
|
||||
}
|
||||
|
||||
a.list-group-item,button.list-group-item {
|
||||
color: #669;
|
||||
/* [disabled]border: 1px solid #669; */
|
||||
}
|
||||
|
||||
a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover {
|
||||
color: #66C;
|
||||
text-decoration: none;
|
||||
/* [disabled]background-color:#f5f5f5; */
|
||||
}
|
||||
|
||||
li {
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
.panel {
|
||||
margin-bottom: 20px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #666699;
|
||||
border-radius: 5px;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,.05);
|
||||
min-height: 350px;
|
||||
min-width: 375px;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.panel-heading {
|
||||
padding: 10px 15px;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
.panel-heading h3 {
|
||||
color:#669;
|
||||
}
|
||||
|
||||
.panel-default:hover {
|
||||
background-color: #f8fbfe;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.panel-primary>.panel-heading {
|
||||
color: #fff;
|
||||
background-color: #666699;
|
||||
border-color: #666699;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.center-block {
|
||||
display: block;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
/* [disabled]float: none; */
|
||||
}
|
||||
|
||||
.pull-right {
|
||||
float: right!important;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.centered {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
/* bring your own prefixes */
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
position: relative;
|
||||
left: 7%;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.panel-default>.panel-heading {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-left:0:
|
||||
}
|
||||
|
||||
.panel-body-left {
|
||||
text-align:left;
|
||||
|
||||
}
|
||||
|
||||
/* centered columns styles */
|
||||
.row-centered {
|
||||
text-align: center;
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
}
|
||||
|
||||
.col-centered {
|
||||
display: inline-table;
|
||||
float: none;
|
||||
/* reset the text-align */
|
||||
text-align: left;
|
||||
/* inline-block space fix */
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
|
||||
.copyright-center {
|
||||
text-align: center;
|
||||
padding-left: 100px;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=bootstrap.min.css.map */
|
||||
11
install/openlitespeed/dist/Example/html/error404.html
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Page Not Found</TITLE>
|
||||
</HEAD>
|
||||
<BODY BGCOLOR="#FFFFFF">
|
||||
<HR>
|
||||
<H1>Request Page Not Found</H1>
|
||||
This is a customized error page for missing pages.
|
||||
<HR>
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
install/openlitespeed/dist/Example/html/img/404-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
install/openlitespeed/dist/Example/html/img/blocked_content-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
install/openlitespeed/dist/Example/html/img/cgi-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
install/openlitespeed/dist/Example/html/img/file_upload-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
install/openlitespeed/dist/Example/html/img/olsws_logo.png
vendored
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
install/openlitespeed/dist/Example/html/img/php-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
install/openlitespeed/dist/Example/html/img/powered_by_ols-new.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
install/openlitespeed/dist/Example/html/img/pwd_protect-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
253
install/openlitespeed/dist/Example/html/index.html
vendored
Normal file
@@ -0,0 +1,253 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||
<title>Welcome</title>
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="css/custom.css" rel="stylesheet">
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<!-- Navigation Menu Starts-->
|
||||
<nav class="navbar navbar-fixed-top">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="#home">Home<span class="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#demo">Demos</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#features">Features</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#resources">Resources</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#news">News</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav><!-- Navigation Menu Ends-->
|
||||
<a id="home"></a>
|
||||
<!-- Navigation Menu Ends-->
|
||||
<div class="container">
|
||||
<div class="header clearfix">
|
||||
<div class="row"></div>
|
||||
<!--Jumbotron Starts-->
|
||||
<div class="jumbotron">
|
||||
<div><img class="center-block img-responsive img-size" src="img/olsws_logo.png" alt="openlitespeed logo"></div>
|
||||
<h1>Congratulations</h1>
|
||||
<p class="lead">You have successfully installed the OpenLiteSpeed Web Server!</p>
|
||||
<div class="row"></div>
|
||||
<!--Button Starts-->
|
||||
<div class="text-center">
|
||||
<a class="btn btn-lg btn-warning" href="#openModal" role="button">READ ME!</a>
|
||||
</div>
|
||||
<!--Button Ends-->
|
||||
<!--Modal Starts-->
|
||||
<div id="openModal" class="modalDialog">
|
||||
<div>
|
||||
<div class="close"><a href="#close" title="Close" >X</a></div>
|
||||
<h1><span class="text-muted">{</span> Read Me <span class="text-muted">}</span></h1>
|
||||
<div class="row">
|
||||
<p>You should replace this page with your own web pages.</p>
|
||||
<p>It is not recommended to copy files into the directory where this page located, they might be over-written during upgrade or reinstallation.</p>
|
||||
<p>Create a new virtual host and map a listener to it. Have no clue? Please read the <a href="/docs/index.html" title="Documentation" target="_blank">Documentation</a>.</p>
|
||||
<p>For your web administration login page, please refer to the installation guide.</p>
|
||||
<p>Add <a href="https://www.litespeedtech.com/" target="_blank"><img src="img/powered_by_ols-new.png" alt="openlitespeed logo"></a> the OpenLiteSpeed logo to your web site if you'd like to help us promote the server.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--Modal Ends-->
|
||||
</div><!--Jumbotron Ends-->
|
||||
</div>
|
||||
<a id="demo"></a>
|
||||
<div class="row">
|
||||
</div>
|
||||
<!-- 5 Panel Starts-->
|
||||
<!--Row Starts-->
|
||||
<div class="row row-centered">
|
||||
<h1>Simple Feature Demos</h1>
|
||||
<div class="row"></div>
|
||||
<!--Column 1 Starts-->
|
||||
<div class="col-md-4 col-sm-4 col-lg-4 col-centered">
|
||||
<!--Panel 1 Starts-->
|
||||
<div class="panel panel-default">
|
||||
<img class="center-block img-responsive" src="img/cgi-icon.png" alt="cgi">
|
||||
<div class="panel-heading">
|
||||
<h3>CGI script</h3>
|
||||
</div>
|
||||
<div class="panel-body">Hello World from CGI script
|
||||
</div>
|
||||
<br> <!--use for btn vertical alignment-->
|
||||
<div class="text-center"><a class="btn btn-primary" role="button" onclick="window.open('/cgi-bin/helloworld', 'myWin', 'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=no, scrollbars=yes, width=600, height=400'); return false">Click Here »</a>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
</div><!--Panel 1 Starts-->
|
||||
</div><!--Column 1 Ends-->
|
||||
<!--Column 2 Starts-->
|
||||
<div class="col-md-4 col-sm-4 col-lg-4 col-centered">
|
||||
<!--Panel 2 Starts-->
|
||||
<div class="panel panel-default">
|
||||
<img class="center-block img-responsive" src="img/php-icon.png" alt="php">
|
||||
<div class="panel-heading">
|
||||
<h3> Test PHP</h3>
|
||||
</div>
|
||||
<div class="panel-body">If you enabled PHP during installation, <br>click here to test it
|
||||
</div>
|
||||
<div class="text-center"><a class="btn btn-primary" role="button" onclick="window.open('/phpinfo.php', 'myWin', 'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=yes, scrollbars=yes, width=1024, height=768'); return false">Click Here »</a>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
</div><!--Panel 2 Ends-->
|
||||
</div><!--Column 2 Ends-->
|
||||
<!--Column 3 Starts-->
|
||||
<div class="col-md-4 col-sm-4 col-lg-4 col-centered">
|
||||
<!--Panel 3 Starts-->
|
||||
<div class="panel panel-default">
|
||||
<img class="center-block img-responsive" src="img/404-icon.png" alt="404">
|
||||
<div class="panel-heading">
|
||||
<h3 >Customized Error Page</h3>
|
||||
</div>
|
||||
<div class="panel-body">Missing page
|
||||
</div>
|
||||
<br> <!--use for btn vertical alignment-->
|
||||
<div class="text-center"><a class="btn btn-primary" role="button" onclick="window.open('/page_does_not_exist.html', 'myWin', 'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=no, scrollbars=yes, width=600, height=400'); return false">Click Here »</a>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
</div><!--Panel 3 Ends-->
|
||||
</div><!--Column 3 Ends-->
|
||||
<!--Column 4 Starts-->
|
||||
<div class="col-md-4 col-sm-4 col-lg-4 col-centered">
|
||||
<!--Panel 4 Starts-->
|
||||
<div class="panel panel-default">
|
||||
<img class="center-block img-responsive" src="img/pwd_protect-icon.png" alt="password protection">
|
||||
<div class="panel-heading">
|
||||
<h3>Authentication</h3>
|
||||
</div>
|
||||
<div class="panel-body">Password protected content, <br>user name: test, password: test123
|
||||
</div>
|
||||
<div class="text-center"><a class="btn btn-primary" role="button" onclick="window.open('/protected/', 'myWin', 'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=no, scrollbars=yes, width=600, height=400'); return false">Click Here »</a>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
</div><!--Panel 4 Ends-->
|
||||
</div><!--Column 4 Ends-->
|
||||
|
||||
<!--Column 5 Starts-->
|
||||
<div class="col-md-4 col-sm-4 col-lg-4 col-centered">
|
||||
<!--Panel 5 Starts-->
|
||||
<div class="panel panel-default">
|
||||
<img class="center-block img-responsive" src="img/blocked_content-icon.png" alt="blocked content">
|
||||
<div class="panel-heading">
|
||||
<h3>Blocked Content</h3>
|
||||
</div>
|
||||
<div class="panel-body">Blocked area
|
||||
</div>
|
||||
<br> <!--use for btn vertical alignment-->
|
||||
<div class="text-center"><a class="btn btn-primary" role="button" onclick="window.open('/blocked/', 'myWin', 'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=no, scrollbars=yes, width=600, height=400'); return false">Click Here »</a>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
</div><!--Panel 5 Ends-->
|
||||
</div><!--Column 5 Ends-->
|
||||
<!--Column 6 Starts-->
|
||||
<div class="col-md-4 col-sm-4 col-lg-4 col-centered">
|
||||
<!--Panel 6 Starts-->
|
||||
<div class="panel panel-default">
|
||||
<img class="center-block img-responsive" src="img/file_upload-icon.png" alt="file upload">
|
||||
<div class="panel-heading">
|
||||
<h3>File Upload</h3>
|
||||
</div>
|
||||
<div class="panel-body">Test file upload progress module
|
||||
</div>
|
||||
<br> <!--use for btn vertical alignment-->
|
||||
<div class="text-center"><a class="btn btn-primary" role="button" onclick="window.open('/upload.html', 'myWin', 'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=no, scrollbars=yes, width=875, height=650'); return false">Click Here »</a>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
</div><!--Panel 6 Ends-->
|
||||
</div><!--Column 6 Ends-->
|
||||
</div> <!-- Row Ends -->
|
||||
<div class="row"></div>
|
||||
<!--6 panel ends-->
|
||||
<div class="row"></div>
|
||||
<a id=features></a>
|
||||
<a id=resources></a>
|
||||
<a id=news></a>
|
||||
<hr class="featurette-divider">
|
||||
<div class="row"></div>
|
||||
<div class="text-center">
|
||||
<h1>About OpenLiteSpeed</h1>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
<!--Row Starts-->
|
||||
<div class="row row-centered">
|
||||
<!--Column 1 Starts-->
|
||||
<div class="col-xs-3 col-centered">
|
||||
<!--Panel 1 Starts-->
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading text-center">Features</div>
|
||||
<p></p>
|
||||
<ul>
|
||||
<li class="list-group-item">Event-driven architecture and extremely low resource overhead</li>
|
||||
<li class="list-group-item">Apache compatible rewrite rules</li>
|
||||
<li class="list-group-item">User friendly WebAdmin GUI</li>
|
||||
<li class="list-group-item">HTTP2, ESI, liteMage cache and Websocket Proxies support</li>
|
||||
<li class="list-group-item">PageSpeed, Lua and Cache Support </li>
|
||||
</ul>
|
||||
</div><!--Panel 1 Ends-->
|
||||
</div><!--Column 1 Ends-->
|
||||
<!--Column 2 Starts-->
|
||||
<div class="col-xs-3 col-centered">
|
||||
<!--Panel 2 Starts-->
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading text-center">Resources</div>
|
||||
<p></p>
|
||||
<ul>
|
||||
<li><a href="http://open.litespeedtech.com/mediawiki/index.php/Help:1-Click_Install" class="list-group-item" target="_blank">1-Click Installation</a></li>
|
||||
<li><a href="http://open.litespeedtech.com/mediawiki/index.php/Help:Installation" class="list-group-item" target="_blank">OpenLiteSpeed Installation Guide</a></li>
|
||||
<li><a href="https://groups.google.com/forum/#!forum/openlitespeed-development" class="list-group-item" target="_blank">OpenLiteSpeed Google Group</a></li>
|
||||
<li><a href="http://open.litespeedtech.com/" class="list-group-item" target="_blank">OpenLiteSpeed Wiki</a></li>
|
||||
<li><a href="http://openlitespeed.com/" class="list-group-item" target="_blank">Forum</a></li>
|
||||
</ul>
|
||||
</div><!--Panel 2 Ends-->
|
||||
</div><!--Column 2 Ends-->
|
||||
<!--Column 3 Starts-->
|
||||
<div class="col-xs-3 col-centered">
|
||||
<!--Panel 3 Starts-->
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading text-center">News</div>
|
||||
<p></p>
|
||||
<ul>
|
||||
<li><a href="http://open.litespeedtech.com/mediawiki/index.php/Help:1-Click_Install" class="list-group-item" target="_blank">1-Click to install WordPress on OpenLiteSpeed</a></li>
|
||||
<li><a href="http://open.litespeedtech.com/mediawiki/index.php/Help:4_Line_Install" class="list-group-item" target="_blank">Fully working OpenLiteSpeed install in 4 lines</a></li>
|
||||
<li><a href="http://open.litespeedtech.com/mediawiki/index.php/Help:Multiple_PHPs" class="list-group-item" target="_blank">Set up multiple PHPs</a></li>
|
||||
<li><a href="http://open.litespeedtech.com/mediawiki/index.php/Help:1.4_VHost_Config_Change" class="list-group-item" target="_blank">Virtual host configuration location changes in 1.4</a></li>
|
||||
<li><a href="http://open.litespeedtech.com/mediawiki/index.php/Help:PHP_via_RPM" class="list-group-item" target="_blank">Installing PHP from a Repository</a></li>
|
||||
</ul>
|
||||
</div><!--Panel 3 Ends-->
|
||||
</div><!--Column 3 Ends-->
|
||||
</div><!--Row Ends-->
|
||||
<div class="row"></div>
|
||||
<hr class="featurette-divider">
|
||||
<div class="row"></div>
|
||||
<!-- FOOTER -->
|
||||
<footer>
|
||||
<img class="center-block img-responsive" src="img/powered_by_ols-new.png" alt="power by openlitespeed">
|
||||
<div class="row"></div>
|
||||
<p class="pull-right"><a href="#">Back to top</a></p>
|
||||
<div class="text-center copyright-center"><p>© 2018 LiteSpeed Technologies, Inc. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div> <!--Container Close-->
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>-->
|
||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||
<!--<script src="js/bootstrap.min.js"></script> -->
|
||||
</body>
|
||||
</html>
|
||||
4
install/openlitespeed/dist/Example/html/phpinfo.php
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
date_default_timezone_set('America/New_York');
|
||||
phpinfo();
|
||||
?>
|
||||
14
install/openlitespeed/dist/Example/html/protected/index.html
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Protected page</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div align="Center"><br>
|
||||
<h1>Congratulation! You gave the right user name and password.</h1>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
139
install/openlitespeed/dist/Example/html/upload.html
vendored
Normal file
@@ -0,0 +1,139 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>openlitespeed upload files and module uploadprogress</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: arial;
|
||||
font-size: 12px;
|
||||
}
|
||||
#statbar_box {
|
||||
width: 800px;
|
||||
height: 20px;
|
||||
background-color: #FFF;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin-bottom: 12px;
|
||||
display: none;
|
||||
border-radius: 4px;
|
||||
}
|
||||
#statbar_bar {
|
||||
position: absolute;
|
||||
height: 20px;
|
||||
top: 0px;
|
||||
background-color: green;
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
border-radius: 4px;
|
||||
}
|
||||
#status {
|
||||
margin-bottom: 12px;
|
||||
text-align: center;
|
||||
width: 800px;
|
||||
color: blue;
|
||||
}
|
||||
iframe {
|
||||
background-color: #AAFFFF;
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
margin-bottom: 0;
|
||||
position: relative;
|
||||
}
|
||||
#footer {
|
||||
text-align: center;
|
||||
width: 800px;
|
||||
background: #ddd;
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
#base {
|
||||
width: 800px;
|
||||
padding: 20px;
|
||||
background: #EFEFEF;
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="http://code.jquery.com/jquery-1.8.3.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
(function ($) {
|
||||
var interv;
|
||||
var test = 1;
|
||||
var statbarWidth;
|
||||
$(document).ready(function () {
|
||||
statbarWidth = $("#statbar_box").width();
|
||||
$("#upload").submit(function () {
|
||||
uuid = "";
|
||||
/*
|
||||
* You may want to do more to make the uuid more random, such as to use
|
||||
* some kinds of seed or to use a longer uuid.
|
||||
*/
|
||||
for (i = 0; i < 32; i++) {
|
||||
uuid += Math.floor(Math.random() * 16).toString(16);
|
||||
}
|
||||
$("#upload").attr("action", "/upload.php?X-Progress-ID=" + uuid);
|
||||
$("#statbar_bar").css("width", "1px");
|
||||
$("#statbar_box").fadeIn(500);
|
||||
$(this).disabled = false;
|
||||
interv = setInterval(function () {
|
||||
progress(uuid)
|
||||
}, 800);
|
||||
});
|
||||
});
|
||||
var firststart = true;
|
||||
function progress(uuid) {
|
||||
$.ajax({
|
||||
url: "progress?X-Progress-ID=" + uuid,
|
||||
type: "GET",
|
||||
dataType: "json"
|
||||
})
|
||||
.done(function (data) {
|
||||
console.log(data);
|
||||
if (data.state == 'done') {
|
||||
clearInterval(interv);
|
||||
$("#statbar_bar").animate({"width": statbarWidth + "px"});
|
||||
$("#status").html('100% (Done)');
|
||||
} else {
|
||||
var ratio = Math.round((data.received * 100) / data.size);
|
||||
ratio = !ratio?0:ratio;
|
||||
var pixel = Math.round((ratio * statbarWidth) / 100);
|
||||
firststart = false;
|
||||
$("#statbar_bar").animate({"width": pixel + "px"});
|
||||
$("#status").html(ratio + '%');
|
||||
|
||||
}
|
||||
})
|
||||
.fail(function() {
|
||||
clearInterval(interv);
|
||||
$("#statbar_box").fadeTo(500, 0.6);
|
||||
$("#status").html('ERROR -- uploadProgress module not enabled?');
|
||||
});
|
||||
}
|
||||
})(jQuery);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="base">
|
||||
<div id="comments"><p><h4>This page is designed to test the uploading of files as well as the displaying of a progress bar when uploading. <br>
|
||||
If the server side "uploadpassbypath" is set to "enabled", remember that the files path will be uploaded but not it's content. <br>
|
||||
If context "/progress" is set to be handled by the "uploadprogress" module, then the progress request for this file will work as intended, displaying a working progress bar.</h4></p></div>
|
||||
<div id="status">0%</div>
|
||||
<div id="statbar_box">
|
||||
<div id="statbar_bar"></div>
|
||||
</div>
|
||||
|
||||
<form id="upload" action="upload.php" target="resultwindow" method="post" enctype="multipart/form-data">
|
||||
<div>
|
||||
<input type="file" name="file1"/>
|
||||
<input type="file" name="file2"/>
|
||||
<p><input type="submit"/>
|
||||
</div>
|
||||
</form>
|
||||
<iframe src="about:blank" name="resultwindow" frameborder="0" scrolling="no">Your browser does not support iframe.</iframe>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
84
install/openlitespeed/dist/Example/html/upload.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
<!--
|
||||
/*****************************************************************************
|
||||
* Open LiteSpeed is an open source HTTP server. *
|
||||
* Copyright (C) 2013 - 2018 LiteSpeed 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 *
|
||||
* the Free Software Foundation, either version 3 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program. If not, see http://www.gnu.org/licenses/. *
|
||||
*****************************************************************************/
|
||||
-->
|
||||
<html>
|
||||
<head><style>
|
||||
body {
|
||||
font-family: monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style></head>
|
||||
<body>
|
||||
|
||||
<?php
|
||||
function moveAndShow($src, $dest)
|
||||
{
|
||||
if (empty($src)) {
|
||||
echo "<p>file is empty, not stored.</p>\n";
|
||||
} else {
|
||||
rename($src, $dest);
|
||||
echo "<p>Moved: " . $src . " ====> " . $dest . "<br>";
|
||||
echo "MD5 : " . md5_file($dest). "<br>";
|
||||
echo "Size : " . filesize($dest). " bytes</p>\n";
|
||||
}
|
||||
}
|
||||
|
||||
function disaplyParsedFile($filekey)
|
||||
{
|
||||
echo "<p>File : " . $filekey . "<br>";
|
||||
echo "Name : " . $_POST["{$filekey}_name"] . "<br>";
|
||||
echo "Type : " . $_POST["{$filekey}_content-type"] . "<br>";
|
||||
echo "Path : " . $_POST["{$filekey}_path"] . "<br>";
|
||||
echo "MD5 : " . $_POST["{$filekey}_md5"] . "<br>";
|
||||
echo "Size : " . $_POST["{$filekey}_size"] . " Bytes<br></p>\n";
|
||||
}
|
||||
|
||||
function displayNoParsedFile($filekey)
|
||||
{
|
||||
echo "<p>File : " . $filekey . "<br>";
|
||||
echo "Name : " . $_FILES["{$filekey}"]['name'] . "<br>";
|
||||
echo "Type : " . $_FILES["{$filekey}"]['type'] . "<br>";
|
||||
echo "Path : " . $_FILES["{$filekey}"]['tmp_name'] . "<br>";
|
||||
echo "Size : " . $_FILES["{$filekey}"]['size'] . "</p>\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if(empty($_FILES["file1"]))
|
||||
{
|
||||
echo "<h1>Request body updated by Parser</h1>\n";
|
||||
|
||||
for ($i = 1; $i <= 2; $i++) {
|
||||
disaplyParsedFile("file{$i}");
|
||||
$moved_to_path = '/tmp/uploadfile_' . $_POST["file{$i}_name"];
|
||||
moveAndShow($_POST["file{$i}_path"], $moved_to_path);
|
||||
}
|
||||
|
||||
} else {
|
||||
echo "<h1>No Parser used</h1>\n";
|
||||
for ($i = 1; $i <= 2; $i++) {
|
||||
displayNoParsedFile("file{$i}");
|
||||
$moved_to_path = '/tmp/uploadfile_' . $_FILES["file{$i}"]["name"];
|
||||
moveAndShow($_FILES["file{$i}"]["tmp_name"], $moved_to_path);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</body></html>
|
||||