Kamis, 12 November 2020

Setup Virtual Host OLS

 buat folder

mkdir /usr/local/lsws/exempel.com/{html.logs} -p


login admin openlitespeed

masum menu virtual host >

virtual host name : exampel.com

virtual host name : $SERVER_ROOT/example.cpm/

COnfig File : $SERVER_ROOT/conf/vhosts/$VH NAME/vhconf.conf

Follow Symbilic Link : Yes

Enable Scripts/ExtApps: yes

Restrained : yes

External Apps Set UID Mode: Server UID



klik virtualhost-Choose virtual host> General>General


Document Root :$SV_ROOT/html/

Domain Name: exampel.com

Enable Compression: yes


klik virtualhost-Choose virtual host> General>Index


use server index files: no

index Files : index.php, index.html, index.htm

Auto Index : NO



klik virtualhost-Choose virtual host>Log

user server's Log :yes

file Name : $VH_ROOT/Logs/Error.log

Log Level :Error

Rolling Size :10M


klik virtualhost-Choose virtual host>log>Accesslog

Log control : own log file

File name : $VH_ROOT/Logs/access.log

piped logger : not set

log format : not set

log header : not set

rolling size : 10M

keepdays : 30

byte log : not set

compress archive :Yes


klik virtualhost-Choose virtual host>Security>access control


allowd list: *

denied list : di kosongin


klik virtualhost-Choose virtual host>Security>Script handling Definition

 

Suffix :php

handler type : LiteSpeed SAPI

Handler name : [server level] : lsphp74



klik virtualhost-Choose virtual host>Security>rerwrite> rewrite control


Enable Rewrite: Yes

Auto Load from .htaccess: Yes

Log Level : Not Set


kliok listeners

Virtual Host : example.com


Domains * : example.com



kalu sudah di restart


sisi client

edit /etc/hosts


Tidak ada komentar:

Posting Komentar

Setup Virtual Host OLS

 buat folder mkdir /usr/local/lsws/exempel.com/{html.logs} -p login admin openlitespeed masum menu virtual host > virtual host name : e...