| Server IP : 150.230.34.123 / Your IP : 216.73.217.23 Web Server : LiteSpeed System : Linux amd-instance-20210802-1657 5.15.0-1042-oracle #48~20.04.1-Ubuntu SMP Mon Aug 21 18:27:46 UTC 2023 x86_64 User : ubuntu ( 1001) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/lsws/conf/vhosts/aloysius/ |
Upload File : |
head 1.12;
access;
symbols;
locks
root:1.12; strict;
comment @# @;
1.12
date 2021.08.17.17.26.36; author root; state Exp;
branches;
next 1.11;
1.11
date 2021.08.17.16.47.07; author root; state Exp;
branches;
next 1.10;
1.10
date 2021.08.17.03.17.15; author root; state Exp;
branches;
next 1.9;
1.9
date 2021.08.17.03.13.14; author root; state Exp;
branches;
next 1.8;
1.8
date 2021.08.04.18.02.24; author root; state Exp;
branches;
next 1.7;
1.7
date 2021.08.04.17.48.15; author root; state Exp;
branches;
next 1.6;
1.6
date 2021.08.04.05.01.54; author root; state Exp;
branches;
next 1.5;
1.5
date 2021.08.02.16.04.15; author root; state Exp;
branches;
next 1.4;
1.4
date 2021.08.02.15.58.27; author root; state Exp;
branches;
next 1.3;
1.3
date 2021.08.02.14.03.07; author root; state Exp;
branches;
next 1.2;
1.2
date 2021.08.02.12.55.24; author root; state Exp;
branches;
next 1.1;
1.1
date 2021.08.02.10.12.40; author root; state Exp;
branches;
next ;
desc
@/usr/local/lsws/conf/vhosts/Example/vhconf.conf0
@
1.12
log
@Update
@
text
@docRoot $VH_ROOT/html/
enableGzip 1
errorlog $VH_ROOT/logs/error.log {
useServer 1
logLevel DEBUG
rollingSize 10M
}
accesslog $VH_ROOT/logs/access.log {
useServer 0
rollingSize 10M
keepDays 30
compressArchive 0
}
index {
useServer 0
indexFiles index.html, index.php
autoIndex 0
autoIndexURI /_autoindex/default.php
}
errorpage 404 {
url /error404.html
}
expires {
enableExpires 1
expiresByType text/css=A31557600, text/javascript=A31557600, application/javascript=A31557600, application/x-javascript=A31557600, application/pdf=A31557600, image/*=A31557600, image/x-icon=A31557600, image/vnd.microsoft.icon=A31557600, image/svg+xml=A31557600, image/jpeg=A31557600, image/gif=A31557600, image/png=A31557600, image/webp=A31557600, audio/ogg=A31557600, video/ogg=A31557600, video/mpeg=A31557600, video/mp4=A31557600, video/webm=A31557600, font/*=A604800, application/x-font-ttf=A31557600, application/x-font-woff=A31557600, application/font-woff=A31557600, application/font-woff2=A31557600, application/vnd.ms-fontobject=A31557600, font/ttf=A31557600, font/otf=A31557600, font/woff=A31557600, font/woff2=A31557600
}
accessControl {
allow *
}
realm SampleProtectedArea {
userDB {
location conf/vhosts/$VH_NAME/htpasswd
maxCacheSize 200
cacheTimeout 60
}
groupDB {
location conf/vhosts/$VH_NAME/htgroup
maxCacheSize 200
cacheTimeout 60
}
}
context / {
location $DOC_ROOT/
allowBrowse 1
rewrite {
RewriteFile .htaccess
}
}
context /docs/ {
location $SERVER_ROOT/docs/
allowBrowse 1
}
context /protected/ {
location protected/
allowBrowse 1
realm SampleProtectedArea
authName Protected
required user test
accessControl {
allow *
}
}
context /blocked/ {
allowBrowse 0
}
context /cgi-bin/ {
type cgi
location $VH_ROOT/cgi-bin/
}
context /.well-known/ {
location /usr/local/lsws/aloysius/html/.well-known/
allowBrowse 1
addDefaultCharset off
}
rewrite {
enable 1
autoLoadHtaccess 1
logLevel 0
rules <<<END_rules
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
END_rules
}
@
1.11
log
@Update
@
text
@d99 3
a101 2
ReRewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.aloysius.me/$1 [L,R=301]
@
1.10
log
@Update
@
text
@d99 2
a100 3
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
@
1.9
log
@Update
@
text
@d99 3
a101 2
ReRewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.aloysius.me/$1 [L,R=301]
@
1.8
log
@Update
@
text
@d99 2
a100 3
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
@
1.7
log
@Update
@
text
@d98 4
a101 3
rewriteCond %{HTTPS} !on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
@
1.6
log
@Update
@
text
@d99 2
a100 1
rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
a101 1
@
1.5
log
@Update
@
text
@d30 1
d101 1
@
1.4
log
@Update
@
text
@a97 1
rewriteCond %{HTTP:X-Forwarded-Proto} !https
@
1.3
log
@Update
@
text
@d96 6
@
1.2
log
@Update
@
text
@d1 2
a2 2
docRoot $VH_ROOT/html/
enableGzip 1
d4 5
d10 5
a14 6
context / {
allowBrowse 1
location $DOC_ROOT/
rewrite {
RewriteFile .htaccess
}
d17 5
a21 3
context /docs/{
allowBrowse 1
location $SERVER_ROOT/docs/
d24 2
a25 11
context /protected/{
required user test
authName Protected
allowBrowse 1
location protected/
realm SampleProtectedArea
accessControl {
deny
allow *
}
d28 2
a29 2
context /blocked/{
allowBrowse 0
d32 2
a33 4
context /cgi-bin/{
allowBrowse 1
location $VH_ROOT/cgi-bin/
type cgi
d36 7
a42 5
context /.well-known/ {
location /usr/local/lsws/aloysius/html/.well-known/
allowBrowse 1
addDefaultCharset off
}
d44 5
a48 2
expires {
enableExpires 1
d51 3
a53 6
index {
autoIndexURI /_autoindex/default.php
indexFiles index.html
autoIndex 0
useServer 0
}
d55 3
a57 2
errorPage 404{
url /error404.html
d60 3
a62 4
errorlog $VH_ROOT/logs/error.log{
logLevel DEBUG
rollingSize 10M
useServer 1
d65 6
a70 8
accessLog $VH_ROOT/logs/access.log{
compressArchive 0
logReferer 1
keepDays 30
rollingSize 10M
logUserAgent 1
useServer 0
}
d72 3
a74 8
awstats {
updateInterval 86400
workingDir $VH_ROOT/awstats
updateOffset 0
siteDomain localhost
siteAliases 127.0.0.1 localhost
updateMode 0
awstatsURI /awstats/
d77 2
a78 3
rewrite {
enable 0
logLevel 0
d81 3
a83 6
hotlinkCtrl {
suffixes gif, jpeg, jpg
allowedHosts
allowDirectAccess 1
enableHotlinkCtrl 0
onlySelf 1
d86 4
a89 3
accessControl {
deny
allow *
d92 4
a95 12
realm SampleProtectedArea {
userDB {
cacheTimeout 60
maxCacheSize 200
location conf/vhosts/$VH_NAME/htpasswd
}
groupDB {
cacheTimeout 60
maxCacheSize 200
location conf/vhosts/$VH_NAME/htgroup
}
a97 3
general {
enableContextAC 0
}
@
1.1
log
@Update
@
text
@d41 6
@