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」

沒有留言:

張貼留言

年度專案議題

  • 量子電腦是騙術 - 近年來?有很多鼓吹【 量子電腦 】的文章....... 稱頌,歌頌、恭維........【量子電腦】能比【超級電腦】的運算能力強百倍,我不能認同這種荒謬說詞。 這些論述與【量子電腦】乍似有幾分關係?卻不是量子電腦的設計原則,也不是量子電腦的運作方式。 【量子電腦】到底使用什麼技術,來加快【電腦演算效率】 ...
    2 週前