HEX
Server: LiteSpeed
System: Linux melbournecleaninggroup 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: www-data (33)
PHP: 7.3.33-1+focal
Disabled: 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,
Upload Files
File: //usr/local/lsws/conf/templates/rails.conf.txt
setuidmode 2
configfile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf
vhroot $SERVER_ROOT/$VH_NAME/
enablescript 1
allowsymbollink 1
chrootmode 0
restrained 1

virtualhostconfig  {
    enablegzip 1
    docroot $VH_ROOT/public/

    accesscontrol  {
        allow *
    }

    accesslog $SERVER_ROOT/logs/$VH_NAME.access.log {
        logheaders 3
        rollingsize 500M
        compressarchive 0
        useserver 0
        keepdays 30
    }

    rewrite  {
        enable 0
        loglevel 0
    }

    hotlinkctrl  {
        enablehotlinkctrl 0
        allowdirectaccess 1
        suffixes gif, jpeg, jpg
        onlyself 1
    }

    index  {
        useserver 0
        autoindexuri /_autoindex/default.php
        autoindex 0
        indexfiles index.html
    }

    errorlog  {
        useserver 1
    }

    context / {
        railsenv 1
        maxconns 5
        location $VH_ROOT/
        type rails
        accesscontrol 
        adddefaultcharset off

        rewrite  {
            unknownkeywords rewritefile .htaccess
            rules rewritefile .htaccess
        }
    }

    expires  {
        enableexpires 1
    }

    awstats  {
        workingdir $VH_ROOT/awstats
        awstatsuri /awstats/
        sitedomain localhost
        sitealiases 127.0.0.1 localhost
        updatemode 0
        updateinterval 86400
        updateoffset 0
        securedconn 0
    }
}