아파치 포워딩

in #apache6 years ago

버츄얼 호스팅 세팅

http.conf 설정

<VirtualHost *:80>
ServerName {www.도메인}
ServerAdmin webmaster@{도메인}
ServerAlias {도메인}
DocumentRoot {path}
<Directory {path}>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted

.htaccess 설정

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ {포워딩도메인}/$1 [R,L]

Coin Marketplace

STEEM 0.13
TRX 0.25
JST 0.030
BTC 83296.09
ETH 1567.63
USDT 1.00
SBD 0.76