403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lsws/conf/vhosts/aloysius/vhconf.conf.txt
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  {
        rules rewritefile .htaccess
        unknownkeywords 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 <<<MY_END
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
    MY_END
}

Youez - 2016 - github.com/yon3zu
LinuXploit