第一種
# 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
#Listen 192.170.2.1:80
Listen 127.0.0.1:8080
第二種
<Directory /html/public_html>
<== #<Directory /html/public_html>//「:380」
沒有留言:
張貼留言
歡迎討論