2011年5月18日 星期三

httpd.conf 設置 Jsp 首頁

都在 /etc/conf/httpd.conf


第一種

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
Listen 127.0.0.1:8080
#Listen 80



#Listen
#The Listen directive tells the server to accept incoming requests only on the specified port or address-and-port combinations.
#If only a port number is specified in the Listen directive, the server listens to the given port on all interfaces.
#If an IP address is given as well as a port, the server will listen on the given port and interface.
#Multiple Listen directives may be used to specify a number of addresses and ports to listen on. The server will #respond to requests from any of the listed addresses and ports.
#For example, to make the server accept connections on both port 80 and port 8000, use:
Listen 80
#Listen 8000
#To make the server accept connections on two specified interfaces and port numbers, use
#Listen 192.170.2.1:80
Listen 127.0.0.1:8080 







第二種






<Directory /html/public_html>
<== #<Directory /html/public_html>//「:380」

沒有留言:

張貼留言

歡迎討論

HR , NO!Human Resources,NO!

※※ 這樣內容,上手會困難嗎?※※ 我想到什麼?就寫什麼!※※

※對於資訊!我想到什麼?就寫什麼!

如果困難的話?
歡迎來信討論或發表意見,我會儘快回覆。

也歡迎來 YAHOO 知識家,集思廣益!

我的YAHOO 知識家 首頁:
Yahoo 知識+ 2013年改版前 (網域似乎已作廢)
YAHOO 知識家+ 2013年改版後

有需要技術文件 DarkMan 蒐集了不少!
存在FTP共享。想下載?請洽DarkMan信箱取得下載帳號。※

人性的理由
上句:不修一切法,如如是己身。傳其法,授其使,說其名,淪為其用。
下句:你寫得出來其意就傳你【大神威、大魔法,無上魔道。】