Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

Discuz!EXP,环境下的APACHE域名解析+:8080这样才能访问,是什么问题

[复制链接]
xcu06 发表于 2008-4-16 10:46:28 | 显示全部楼层 |阅读模式
  1. ThreadsPerChild 250
  2. MaxRequestsPerChild  0

  3. LoadModule actions_module modules/mod_actions.so
  4. LoadModule alias_module modules/mod_alias.so
  5. LoadModule asis_module modules/mod_asis.so
  6. LoadModule auth_basic_module modules/mod_auth_basic.so
  7. #LoadModule auth_digest_module modules/mod_auth_digest.so
  8. #LoadModule authn_anon_module modules/mod_authn_anon.so
  9. #LoadModule authn_dbm_module modules/mod_authn_dbm.so
  10. LoadModule authn_default_module modules/mod_authn_default.so
  11. LoadModule authn_file_module modules/mod_authn_file.so
  12. #LoadModule authz_dbm_module modules/mod_authz_dbm.so
  13. LoadModule authz_default_module modules/mod_authz_default.so
  14. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  15. LoadModule authz_host_module modules/mod_authz_host.so
  16. LoadModule authz_user_module modules/mod_authz_user.so
  17. LoadModule autoindex_module modules/mod_autoindex.so
  18. #LoadModule cern_meta_module modules/mod_cern_meta.so
  19. LoadModule cgi_module modules/mod_cgi.so
  20. #LoadModule dav_module modules/mod_dav.so
  21. #LoadModule dav_fs_module modules/mod_dav_fs.so
  22. LoadModule deflate_module modules/mod_deflate.so
  23. LoadModule dir_module modules/mod_dir.so
  24. LoadModule env_module modules/mod_env.so
  25. LoadModule expires_module modules/mod_expires.so
  26. #LoadModule file_cache_module modules/mod_file_cache.so
  27. #LoadModule headers_module modules/mod_headers.so
  28. LoadModule imagemap_module modules/mod_imagemap.so
  29. LoadModule include_module modules/mod_include.so
  30. LoadModule info_module modules/mod_info.so
  31. LoadModule isapi_module modules/mod_isapi.so
  32. LoadModule log_config_module modules/mod_log_config.so
  33. LoadModule mime_module modules/mod_mime.so
  34. #LoadModule mime_magic_module modules/mod_mime_magic.so
  35. #LoadModule proxy_module modules/mod_proxy.so
  36. #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  37. #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  38. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
  39. #LoadModule proxy_http_module modules/mod_proxy_http.so
  40. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  41. LoadModule negotiation_module modules/mod_negotiation.so
  42. LoadModule rewrite_module modules/mod_rewrite.so
  43. LoadModule setenvif_module modules/mod_setenvif.so
  44. #LoadModule speling_module modules/mod_speling.so
  45. LoadModule status_module modules/mod_status.so
  46. #LoadModule unique_id_module modules/mod_unique_id.so
  47. #LoadModule userdir_module modules/mod_userdir.so
  48. #LoadModule usertrack_module modules/mod_usertrack.so
  49. #LoadModule vhost_alias_module modules/mod_vhost_alias.so
  50. #LoadModule ssl_module modules/mod_ssl.so

  51. <Directory />
  52.     Options FollowSymLinks
  53.     AllowOverride None
  54.     Order deny,allow
  55.     Allow from all
  56.     Satisfy all
  57. </Directory>

  58. <IfModule dir_module>
  59.     DirectoryIndex index.html index.htm index.php
  60. </IfModule>

  61. <FilesMatch "^\.ht">
  62.     Order allow,deny
  63.     Deny from all
  64. </FilesMatch>

  65. ErrorLog logs/error.log

  66. LogLevel warn

  67. <IfModule log_config_module>
  68.     LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
  69.     LogFormat "%h %l %u %t "%r" %>s %b" common

  70.     <IfModule logio_module>
  71.       LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
  72.     </IfModule>
  73.     CustomLog logs/access.log common
  74. </IfModule>

  75. <IfModule alias_module>
  76. </IfModule>

  77. DefaultType text/plain

  78. <IfModule mime_module>
  79.     TypesConfig conf/mime.types
  80.     AddType application/x-compress .Z
  81.     AddType application/x-gzip .gz .tgz
  82.     AddType application/x-httpd-php .php
  83. </IfModule>

  84. # Server-pool management (MPM specific)
  85. #Include conf/extra/httpd-mpm.conf

  86. # Multi-language error messages
  87. #Include conf/extra/httpd-multilang-errordoc.conf

  88. # Fancy directory listings
  89. #Include conf/extra/httpd-autoindex.conf

  90. # Language settings
  91. #Include conf/extra/httpd-languages.conf

  92. # User home directories
  93. #Include conf/extra/httpd-userdir.conf

  94. # Real-time info on requests and configuration
  95. Include conf/extra/httpd-info.conf

  96. # Virtual hosts
  97. #Include conf/extra/httpd-vhosts.conf

  98. # Local access to the Apache HTTP Server Manual
  99. #Include conf/extra/httpd-manual.conf

  100. # Distributed authoring and versioning (WebDAV)
  101. #Include conf/extra/httpd-dav.conf

  102. # Various default settings
  103. Include conf/extra/httpd-default.conf

  104. # Secure (SSL/TLS) connections
  105. #Include conf/extra/httpd-ssl.conf
  106. #
  107. # Note: The following must must be present to support
  108. #       starting without SSL on platforms with no /dev/random equivalent
  109. #       but a statically compiled-in mod_ssl.
  110. #
  111. <IfModule ssl_module>
  112. SSLRandomSeed startup builtin
  113. SSLRandomSeed connect builtin
  114. </IfModule>

  115. ### Discuz!EXP Web Server Settings


  116. Listen 8080
  117. ServerName localhost
  118. ServerAdmin webmaster@domain.com
  119. ServerRoot "D:\www\Apache2"
  120. DocumentRoot "D:\www\wwwroot"
  121. LoadModule php5_module "D:\www\PHP5\php5apache2_2.dll"
  122. PHPIniDir "D:\www\PHP5\php.ini"
  123. <Directory "D:\www\wwwroot">
  124. Options Indexes FollowSymLinks
  125. Order allow,deny
  126. Allow from all
  127. </Directory>
  128. Alias /icons/   "D:\www\Apache2\icons"
  129. <Directory "D:\www\Apache2\icons">
  130. Options Indexes MultiViews
  131. AllowOverride None
  132. Order allow,deny
  133. Allow from all
  134. </Directory>
  135. NameVirtualHost *:8080
  136. <VirtualHost *:8080>
  137. ServerAdmin webmaster@domain.com
  138. DocumentRoot "D:\www\wwwroot"
  139. ServerName www.xxxx.net
  140. </VirtualHost>
复制代码
www.xxxx.net:8080这样才能访问,是什么问题

[ 本帖最后由 xcu06 于 2008-4-16 11:18 编辑 ]
yaoyang25 发表于 2008-4-17 04:13:06 | 显示全部楼层
因为监听的是8080端口呀
回复

使用道具 举报

club123456 发表于 2008-4-17 14:43:05 | 显示全部楼层
:) :) 8080,在大多数的时候都是默认的端口
比如tomcat ,还有移动的GPRS等等
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-19 12:38 , Processed in 0.022669 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表