亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

apache虛擬主機(jī)配置一例

 更新時(shí)間:2013年02月09日 20:20:35   作者:  
apache虛擬主機(jī)配置一例,有需要的朋友可以參考下

復(fù)制代碼 代碼如下:

fivetrees extra # cat httpd-vhosts.conf_bak
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#NameVirtualHost *:443
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
#<VirtualHost 192.168.1.66>
#        RewriteEngine On
#        RewriteMap      lowercase       int:tolower
#        RewriteMap      vhost   txt:/usr/local/apache/conf/host.txt
#        RewriteCond     %{HTTP_HOST}    !^$
#        RewriteCond     ${lowercase:%{HTTP_HOST}|NONE}  ^(.+)$
#        RewriteRule     ^/(.*...)$ ${vhost:%1...}/$1
#</VirtualHost>
<VirtualHost *:80>
        DocumentRoot /opt/all_dir
        ServerName *
</VirtualHost>
<VirtualHost *:80>
        DocumentRoot /opt/1
        ServerName 1.com
</VirtualHost>
<VirtualHost *:80>
        DocumentRoot /opt/2
        ServerName 2.com
</VirtualHost>

#<VirtualHost *:443>
#        DocumentRoot /home/hello
#        ServerName hello.baidu.com
#</VirtualHost>

相關(guān)文章

  • Ubuntu修改密碼及密碼復(fù)雜度策略設(shè)置方法

    Ubuntu修改密碼及密碼復(fù)雜度策略設(shè)置方法

    這篇文章主要介紹了Ubuntu修改密碼及密碼復(fù)雜度策略設(shè)置,方法,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2020-08-08
  • Vim如何使用相對(duì)行號(hào)實(shí)現(xiàn)一切操作詳解

    Vim如何使用相對(duì)行號(hào)實(shí)現(xiàn)一切操作詳解

    在使用用Vim時(shí)時(shí)常會(huì)遇到像復(fù)制多行或者想快速向下/向上移動(dòng)多行時(shí)而不知道行數(shù)的情況, 今天發(fā)現(xiàn)一個(gè)Vim對(duì)此有幫助的特性: 相對(duì)行號(hào),下面這篇文章主要給大家介紹了關(guān)于Vim如何使用相對(duì)行號(hào)實(shí)現(xiàn)一切操作的相關(guān)資料,需要的朋友可以參考下。
    2017-11-11
  • Linux實(shí)現(xiàn)科學(xué)上網(wǎng)

    Linux實(shí)現(xiàn)科學(xué)上網(wǎng)

    本文給大家介紹的是Linux下使用plink ssh + privoxy 實(shí)現(xiàn)局域網(wǎng)共享代理,非常的全面細(xì)致,這里推薦給大家。
    2015-03-03
  • Linux里Makefile是什么?它是如何工作的?

    Linux里Makefile是什么?它是如何工作的?

    今天小編就為大家分享一篇關(guān)于makefile是什么及其工作原理的文章,小編覺(jué)得內(nèi)容挺不錯(cuò)的,現(xiàn)在分享給大家,具有很好的參考價(jià)值,需要的朋友一起跟隨小編來(lái)看看吧
    2018-09-09
  • linux網(wǎng)絡(luò)NAT配置方式詳解

    linux網(wǎng)絡(luò)NAT配置方式詳解

    這篇文章主要為大家詳細(xì)介紹了linux網(wǎng)絡(luò)NAT配置方式,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2018-08-08
  • 圖解linux安裝tomcat(附常用命令)

    圖解linux安裝tomcat(附常用命令)

    這篇文章主要以圖片文字結(jié)合的方式為大家介紹了linux安裝tomcat,并linux操作tomcat一些常用命令,感興趣的小伙伴們可以參考一下
    2016-01-01
  • Ubuntu 安裝Eclipse 菜單無(wú)法使用解決辦法

    Ubuntu 安裝Eclipse 菜單無(wú)法使用解決辦法

    這篇文章主要介紹了Ubuntu 安裝Eclipse 菜單無(wú)法使用解決辦法的相關(guān)資料,需要的朋友可以參考下
    2017-03-03
  • centos把網(wǎng)卡名稱修改為eth0的方法

    centos把網(wǎng)卡名稱修改為eth0的方法

    本篇文章主要介紹了centos把網(wǎng)卡名稱修改為eth0,小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2017-02-02
  • 在linux服務(wù)器下使用版本控制軟件SVN的方法

    在linux服務(wù)器下使用版本控制軟件SVN的方法

    下面小編就為大家分享一篇在linux服務(wù)器下使用版本控制軟件SVN的方法,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過(guò)來(lái)看看吧
    2017-12-12
  • Linux中如何查看已掛載的文件系統(tǒng)類(lèi)型詳解

    Linux中如何查看已掛載的文件系統(tǒng)類(lèi)型詳解

    這篇文章主要給大家介紹了關(guān)于在Linux中如何查看已掛載的文件系統(tǒng)類(lèi)型的相關(guān)資料,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)學(xué)習(xí)吧
    2018-11-11

最新評(píng)論