由 风中追风 在 03-06-2003 09:46 发表:
httpd
浏览器里可以看到我发布网页目录里的的文件,怎样屏蔽?
由 Snoopy 在 03-07-2003 12:42 发表:
如何使用系统自带的httpd,用法怎样啊,我设置好不知道怎办??
目录里放网页上去也看不到,我是这样看的
http://192.168.112.88/index.html
http://172.0.0.1/index.html
试了很多次还是不行,怎办啊?
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 风中追风 在 03-07-2003 12:51 发表:
不懂你是什么意思?
如果你启动了httpd服务的话,把网页文件放到/var/www/html目录下,如果有index.html文件的话,直接127.0.0.1就可以看了。
由 Snoopy 在 03-07-2003 13:00 发表:
但我看不了啊 ,,,,,,而且我用nmap 192.168.112.88
80端口没有开,,,而我启动httpd时,老是显示错误
[root@Snoopy tartmp]# httpd
Syntax error on line 176 of /etc/httpd/conf/httpd.conf:
Listen takes one argument, A port number or a numeric IP address and a port number
[root@Snoopy tartmp]#
我都不知道怎办也???是不是倚赖问题啊????
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 风中追风 在 03-07-2003 13:20 发表:
等高人来指点咱们吧,我也想知道!
由 Snoopy 在 03-07-2003 13:39 发表:
httpd(8) httpd(8)
N NA AM ME E
httpd - Apache hypertext transfer protocol server
S SY YN NO OP PS SI IS S
h ht tt tp pd d [ - -d d _ s_ e_ r_ v_ e_ r_ r_ o_ o_ t ] [ - -f f _ c_ o_ n_ f_ i_ g ] [ - -C C _ d_ i_ r_ e_ c_ t_ i_ v_ e ] [ - -c c _ d_ i_ r_ e_ c_ t_ i_ v_ e ]
[ - -D D _ p_ a_ r_ a_ m_ e_ t_ e_ r ]
h ht tt tp pd d [ - -h h ] [ - -l l ] [ - -L L ] [ - -v v ] [ - -V V ] [ - -t t ] [ - -X X ]
D DE ES SC CR RI IP PT TI IO ON N
h ht tt tp pd d is the Apache HyperText Transfer Protocol (HTTP) server program.
It is designed to be run as a standalone daemon process. When used like
this it will create a pool of child processes to handle requests. To
stop it, send a TERM signal to the initial (parent) process. The PID of
this process is written to a file as given in the configuration file.
This manual page only lists the command line arguments. For details of
the directives necessary to configure h ht tt tp pd d see the Apache manual,
which is part of the Apache distribution or can be found at
http://httpd.apache.org/. Paths in this manual may not reflect those
compiled into h ht tt tp pd d. .
O OP PT TI IO ON NS S
- -d d _ s_ e_ r_ v_ e_ r_ r_ o_ o_ t
Set the initial value for the ServerRoot directive to
_ s_ e_ r_ v_ e_ r_ r_ o_ o_ t. This can be overridden by the ServerRoot com-
mand in the configuration file. The default is / /e et tc c/ /h ht tt tp pd d.
- -f f _ c_ o_ n_ f_ i_ g Execute the commands in the file _ c_ o_ n_ f_ i_ g on startup. If _ c_ o_ n_ -
_ f_ i_ g does not begin with a /, then it is taken to be a path
relative to the ServerRoot. The default is c co on nf f/ /h ht tt tp pd d. .c co on nf f.
- -C C _ d_ i_ r_ e_ c_ t_ i_ v_ e
Process the configuration _ d_ i_ r_ e_ c_ t_ i_ v_ e before reading config
files.
- -c c _ d_ i_ r_ e_ c_ t_ i_ v_ e
Process the configuration _ d_ i_ r_ e_ c_ t_ i_ v_ e after reading config
files.
- -D D _ p_ a_ r_ a_ m_ e_ t_ e_ r
Sets a configuration _ p_ a_ r_ a_ m_ e_ t_ e_ r which can be used with
1<ifdefine>...</ifdefine>
sections in the configuration
files to conditionally skip or process commands.
- -h h Output a short summary of available command line options.
- -l l Output a list of modules compiled into the server.
- -L L Output a list of directives together with expected argu-
ments and places where the directive is valid.
- -S S Show the settings as parsed from the config file (currently
only shows the virtualhost settings).
- -t t Run syntax tests for configuration files only. The program
immediately exits after these syntax parsing with either a
return code of 0 (Syntax OK) or return code not equal to 0
(Syntax Error). If - -D D _ D_ U_ M_ P_ __ V_ H_ O_ S_ T_ S is also set, details of
the virtual host configuration will be printed.
- -v v Print the version of h ht tt tp pd d , and then exit.
- -V V Print the version and build parameters of h ht tt tp pd d , and then
exit.
- -X X Run h ht tt tp pd d in debug mode. Only one worker will be started
and the server will not detach from the console.
F FI IL LE ES S
/ /e et tc c/ /h ht tt tp pd d/ /c co on nf f/ /h ht tt tp pd d. .c co on nf f
/ /e et tc c/ /m mi im me e. .t ty yp pe es s
/ /e et tc c/ /h ht tt tp pd d/ /c co on nf f/ /m ma ag gi ic c
/ /v va ar r/ /l lo og g/ /h ht tt tp pd d/ /e er rr ro or r_ _l lo og g
/ /v va ar r/ /l lo og g/ /h ht tt tp pd d/ /a ac cc ce es ss s_ _l lo og g
/ /v va ar r/ /r ru un n/ /h ht tt tp pd d. .p pi id d
February 1997 httpd(8)
不知道怎么设置,也不清楚问题出在哪里~怎办??
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 frankzh 在 03-07-2003 17:15 发表:
把目录显示项去掉~!
去掉 options indexes
由 Snoopy 在 03-07-2003 17:48 发表:
<