Apache Virtual host
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*Apache Virtual Hosts [#t8da5826]
/usr/local/etc/apache22/extra/httpd-vhosts.conf
<VirtualHost 219.117.246.222>
# ServerAdmin webmaster
DocumentRoot /usr/home/tfc/public_html
ServerName www.thousand-winds.net
ErrorLog /var/log/thousand-winds.net-error_log
CustomLog /var/log/thousand-winds.net_log combined
#ディレクトリへのアクセスを許可しないと、
#client denied by server configuration:
#というエラーがでます
// &color(文字色,背景色){インライン要素};
<Directory "/usr/home/tfc/public_html">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
vi etc/newsyslog.conf
/var/log/thousand-winds.net_log 644 12 * @01T05 ...
/var/log/thousand-winds.net-error_log 644 12 * @...
http://www.gside.org/Gentoo/apache/virtualhost.html
&lastmod;
終了行:
*Apache Virtual Hosts [#t8da5826]
/usr/local/etc/apache22/extra/httpd-vhosts.conf
<VirtualHost 219.117.246.222>
# ServerAdmin webmaster
DocumentRoot /usr/home/tfc/public_html
ServerName www.thousand-winds.net
ErrorLog /var/log/thousand-winds.net-error_log
CustomLog /var/log/thousand-winds.net_log combined
#ディレクトリへのアクセスを許可しないと、
#client denied by server configuration:
#というエラーがでます
// &color(文字色,背景色){インライン要素};
<Directory "/usr/home/tfc/public_html">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
vi etc/newsyslog.conf
/var/log/thousand-winds.net_log 644 12 * @01T05 ...
/var/log/thousand-winds.net-error_log 644 12 * @...
http://www.gside.org/Gentoo/apache/virtualhost.html
&lastmod;
ページ名: