Board logo

標題: [軟件] qc 教我 [打印本頁]

作者: XT    時間: 2006-2-5 17:56     標題: qc 教我

點用唔同網址而在網址後唔加如/bbs等字眼去到唔同 file

eg: http://discuz4.madness.no-ip.org/
  http://discuz.madness.no-ip.org/

點整 ... thx
作者: qcmadness    時間: 2006-2-5 21:59

Apache Virtual Server
作者: XT    時間: 2006-2-5 22:02

引用:
Originally posted by qcmadness at 2006-2-5 21:59:
Apache Virtual Server
咪講 d 唔講 d啦
作者: qcmadness    時間: 2006-2-6 12:51

引用:
Originally posted by 真.飛鳥 at 2006-2-5 22:02:

咪講 d 唔講 d啦
Apache個config file最後果part
作者: XT    時間: 2006-2-6 16:11

引用:
Originally posted by qcmadness at 2006-2-6 12:51:

Apache個config file最後果part
引用:
### Section 3: Virtual Hosts
#
# VirtualHost: 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.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option &#92;&#39;-S&#92;&#39; to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
#NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
#    ServerAdmin [email protected]
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

作者: XT    時間: 2006-2-6 20:46

去o左邊
作者: qcmadness    時間: 2006-2-6 20:47

咪呢度lor

跟住佢set都得
作者: XT    時間: 2006-2-6 20:51

引用:
Originally posted by qcmadness at 2006-2-6 20:47:
咪呢度lor

跟住佢set都得
可能我笨 ... 唔明
作者: qcmadness    時間: 2006-2-6 20:53

引用:
Originally posted by 真.飛鳥 at 2006-2-6 20:51:

可能我笨 ... 唔明
等我返屋企, copy我果個俾你睇
作者: XT    時間: 2006-2-6 22:44

引用:
Originally posted by qcmadness at 2006-2-6 20:53:

等我返屋企, copy我果個俾你睇
好呀
作者: qcmadness    時間: 2006-2-11 22:41

有人用緊電視
作者: XT    時間: 2006-2-11 22:43

引用:
Originally posted by qcmadness at 2006-2-11 22:41:
有人用緊電視
有乜關係!?

Server 插電視!?
作者: qcmadness    時間: 2006-2-11 23:12

引用:
Originally posted by 真.飛鳥 at 2006-2-11 22:43:

有乜關係!?

Server 插電視!?

作者: qcmadness    時間: 2006-2-12 14:10

[php]
<VirtualHost *>
    ServerName madness.no-ip.org
    DocumentRoot "***"
</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRoot "***"
</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRoot "***"
    <Directory />
         Options +Indexes
         AuthType Basic
         AuthName "***"
         AuthUserFile "***"
         Require user ***
    </Directory>
</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRoot "***"
    CustomLog "|***/bin/rotatelogs.exe -l ***/Discuz%Y-%m-%d-%H-%M-%S.txt 86400" combined
</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRoot "***"
    CustomLog "|***/bin/rotatelogs.exe -l ***/Discuz%Y-%m-%d-%H-%M-%S.txt 86400" combined
</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRoot "***"
    <Directory />
         Options +Indexes
         AuthType Basic
         AuthName "***"
         AuthUserFile "***"
         Require user ***
    </Directory>
</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRoot "***"
    <Directory />
         Options +Indexes
         AuthType Basic
         AuthName "***"
         AuthUserFile "***"
         Require user ***
    </Directory>
</VirtualHost>

#<VirtualHost *>
#    ServerName ***.madness.no-ip.org
#    DocumentRoot "***"
#    CustomLog "***" combined
#</VirtualHost>

#<VirtualHost *>
#    ServerName ***.madness.no-ip.org
#    DocumentRoot "***"
#    CustomLog "***" combined
#</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRoot "***"
    CustomLog "***" combined
</VirtualHost>

<VirtualHost *>
    ServerName ***.no-ip.org
    DocumentRoot "***"
    CustomLog "***" combined
    <Directory />
         Options +Indexes
    </Directory>
</VirtualHost>

#<VirtualHost *>
#    ServerName ***.no-ip.info
#    DocumentRoot "***"
#    CustomLog "***" combined
#</VirtualHost>
[/php]
作者: XT    時間: 2006-2-12 23:41

引用:
Originally posted by qcmadness at 2006-2-12 14:10:
[php]
<VirtualHost *>
    ServerName madness.no-ip.org
    DocumentRoot "***"
</VirtualHost>

<VirtualHost *>
    ServerName ***.madness.no-ip.org
    DocumentRo ...
好煩又好難咁
作者: XT    時間: 2006-2-12 23:41

qc ... 精o左呢個 Topic 去啦
作者: qcmadness    時間: 2006-2-13 21:15

引用:
Originally posted by 真.飛鳥 at 2006-2-12 23:41:
qc ... 精o左呢個 Topic 去啦
咁都得




歡迎光臨 HKSpot (https://bbs.hk-spot.com/) Powered by Discuz! 6.0 Lite