[这个贴子最后由燕狂徒在 2002/12/30 01:27pm 编辑]
一般HTTPServer刚装好后,必须修改的几个地方是
BindAddress * #刚安装好的时候这个前面有#配置的时候去掉(我新装了一台机器是打开的:)
ServerName aix #这个是你的机器名,如果有dns设成域名即可,必须要设置
Port 80 #这一行好像安装完后是被禁止的,一定打开(这个也是打开的)
一般设置了ServerName就可以通过ip地址访问了
HTTPServer的安装文档在随机光盘里标着Expansion pack的那张光盘,跟netscape一起
或者down个apache也一样
下面是具体的配置文件
##
## httpd.conf -- Apache HTTP server configuration file
##
# This is the main server configuration file. See URL http://www.apache.org/
# for instructions.
# Do NOT simply read the instructions in here without understanding
# what they do, if you are unsure consult the online docs. You have been
# warned.
# Originally by Rob McCool
# These two directives are used to combine the three config files into one.
# The three config files are a legacy setup and are not needed.
AccessConfig /dev/null
ResourceConfig /dev/null
# ServerRoot: The directory the server's config, error, and log files
# are kept in.
# NOTE! If you intend to place this on a NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation,
# you will save yourself a lot of trouble.
ServerRoot /usr/HTTPServer #注意这个是你HTTPServer安装的目录,如果装apache目录会不同,不用修改
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Please read the file README.DSO in the Apache 1.3 distribution for more
# details about the DSO mechanism and run `httpd -l' for the list of already
# built-in (statically linked and thus always available) modules in your httpd
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 简要 说明 文档 配置 回复 quot 安装 这个 BrowserMatchquot |
注册
个人空间
