打印

[軟件] qc 教我

qc 教我

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

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

點整 ... thx

TOP

Apache Virtual Server

TOP

引用:
Originally posted by qcmadness at 2006-2-5 21:59:
Apache Virtual Server
咪講 d 唔講 d啦

TOP

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

咪講 d 唔講 d啦
Apache個config file最後果part

TOP

引用:
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>

TOP

去o左邊

TOP

咪呢度lor

跟住佢set都得

TOP

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

跟住佢set都得
可能我笨 ... 唔明

TOP

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

可能我笨 ... 唔明
等我返屋企, copy我果個俾你睇

TOP

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

等我返屋企, copy我果個俾你睇
好呀

TOP

有人用緊電視

TOP

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

Server 插電視!?

TOP

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

有乜關係!?

Server 插電視!?

TOP

[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]

TOP

引用:
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 ...
好煩又好難咁

TOP