免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5413 | 回复: 2
打印 上一主题 下一主题

[Web] 新买的VPS安装Apache,绑定域名后,访问出现The requested URL could not be retrieved [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-06-21 09:11 |只看该作者 |倒序浏览
本帖最后由 mdowen 于 2012-06-21 09:12 编辑

我新买的VPS. 本来默认是使用的IIS. 我自己换成了Apache,

但是当我把域名绑定好之后,再访问就出现了下面的情况

ERRORThe requested URL could not be retrieved

其中我配置了以下三个地方

1: host文件,设置如下信息
127.0.0.1        huatongmu.com

2: 修改Apache的 httpd.conf文件,打开了vhost配置文件的注释
Include conf/extra/httpd-vhosts.conf

3: 修改httpd-vhosts.conf文件,添加网站

<VirtualHost *>
    ServerAdmin webmaster@dummy-host2.tianzuke.com
    ServerName huatongmu.com
    DocumentRoot "D:\htdocs\huatongmu.com"
    ErrorLog "logs/huatongmu-error.log"
    CustomLog "logs/huatongmu-access.log" common
</VirtualHost>

下面是我httpd.conf的配置文件

  1. [mw_shl_code=css,true]#
  2. # This is the main Apache HTTP server configuration file.  It contains the
  3. # configuration directives that give the server its instructions.
  4. # See <URL:[url=http://httpd.apache.org/docs/2.2>]http://httpd.apache.org/docs/2.2>[/url] for detailed information.
  5. # In particular, see
  6. # <URL:[url=http://httpd.apache.org/docs/2.2/mod/directives.html>]http://httpd.apache.org/docs/2.2/mod/directives.html>[/url]
  7. # for a discussion of each configuration directive.
  8. #
  9. # Do NOT simply read the instructions in here without understanding
  10. # what they do.  They're here only as hints or reminders.  If you are unsure
  11. # consult the online docs. You have been warned.  
  12. #
  13. # Configuration and logfile names: If the filenames you specify for many
  14. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  15. # server will use that explicit path.  If the filenames do *not* begin
  16. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
  17. # with ServerRoot set to "C:/Apache2.2" will be interpreted by the
  18. # server as "C:/Apache2.2/logs/foo.log".
  19. #
  20. # NOTE: Where filenames are specified, you must use forward slashes
  21. # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
  22. # If a drive letter is omitted, the drive on which httpd.exe is located
  23. # will be used by default.  It is recommended that you always supply
  24. # an explicit drive letter in absolute paths to avoid confusion.

  25. #
  26. # ServerRoot: The top of the directory tree under which the server's
  27. # configuration, error, and log files are kept.
  28. #
  29. # Do not add a slash at the end of the directory path.  If you point
  30. # ServerRoot at a non-local disk, be sure to point the LockFile directive
  31. # at a local disk.  If you wish to share the same ServerRoot for multiple
  32. # httpd daemons, you will need to change at least LockFile and PidFile.
  33. #
  34. ServerRoot "C:/Apache2.2"

  35. #
  36. # Listen: Allows you to bind Apache to specific IP addresses and/or
  37. # ports, instead of the default. See also the <VirtualHost>
  38. # directive.
  39. #
  40. # Change this to Listen on specific IP addresses as shown below to
  41. # prevent Apache from glomming onto all bound IP addresses.
  42. #
  43. #Listen 12.34.56.78:80
  44. Listen 80

  45. #
  46. # Dynamic Shared Object (DSO) Support
  47. #
  48. # To be able to use the functionality of a module which was built as a DSO you
  49. # have to place corresponding `LoadModule' lines at this location so the
  50. # directives contained in it are actually available _before_ they are used.
  51. # Statically compiled modules (those listed by `httpd -l') do not need
  52. # to be loaded here.
  53. #
  54. # Example:
  55. # LoadModule foo_module modules/mod_foo.so
  56. #
  57. LoadModule actions_module modules/mod_actions.so
  58. LoadModule alias_module modules/mod_alias.so
  59. LoadModule asis_module modules/mod_asis.so
  60. LoadModule auth_basic_module modules/mod_auth_basic.so
  61. #LoadModule auth_digest_module modules/mod_auth_digest.so
  62. #LoadModule authn_alias_module modules/mod_authn_alias.so
  63. #LoadModule authn_anon_module modules/mod_authn_anon.so
  64. #LoadModule authn_dbd_module modules/mod_authn_dbd.so
  65. #LoadModule authn_dbm_module modules/mod_authn_dbm.so
  66. LoadModule authn_default_module modules/mod_authn_default.so
  67. LoadModule authn_file_module modules/mod_authn_file.so
  68. #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
  69. #LoadModule authz_dbm_module modules/mod_authz_dbm.so
  70. LoadModule authz_default_module modules/mod_authz_default.so
  71. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  72. LoadModule authz_host_module modules/mod_authz_host.so
  73. #LoadModule authz_owner_module modules/mod_authz_owner.so
  74. LoadModule authz_user_module modules/mod_authz_user.so
  75. LoadModule autoindex_module modules/mod_autoindex.so
  76. #LoadModule cache_module modules/mod_cache.so
  77. #LoadModule cern_meta_module modules/mod_cern_meta.so
  78. LoadModule cgi_module modules/mod_cgi.so
  79. #LoadModule charset_lite_module modules/mod_charset_lite.so
  80. #LoadModule dav_module modules/mod_dav.so
  81. #LoadModule dav_fs_module modules/mod_dav_fs.so
  82. #LoadModule dav_lock_module modules/mod_dav_lock.so
  83. #LoadModule dbd_module modules/mod_dbd.so
  84. #LoadModule deflate_module modules/mod_deflate.so
  85. LoadModule dir_module modules/mod_dir.so
  86. #LoadModule disk_cache_module modules/mod_disk_cache.so
  87. #LoadModule dumpio_module modules/mod_dumpio.so
  88. LoadModule env_module modules/mod_env.so
  89. #LoadModule expires_module modules/mod_expires.so
  90. #LoadModule ext_filter_module modules/mod_ext_filter.so
  91. #LoadModule file_cache_module modules/mod_file_cache.so
  92. #LoadModule filter_module modules/mod_filter.so
  93. #LoadModule headers_module modules/mod_headers.so
  94. #LoadModule ident_module modules/mod_ident.so
  95. #LoadModule imagemap_module modules/mod_imagemap.so
  96. LoadModule include_module modules/mod_include.so
  97. #LoadModule info_module modules/mod_info.so
  98. LoadModule isapi_module modules/mod_isapi.so
  99. #LoadModule ldap_module modules/mod_ldap.so
  100. #LoadModule logio_module modules/mod_logio.so
  101. LoadModule log_config_module modules/mod_log_config.so
  102. #LoadModule log_forensic_module modules/mod_log_forensic.so
  103. #LoadModule mem_cache_module modules/mod_mem_cache.so
  104. LoadModule mime_module modules/mod_mime.so
  105. #LoadModule mime_magic_module modules/mod_mime_magic.so
  106. LoadModule negotiation_module modules/mod_negotiation.so
  107. #LoadModule proxy_module modules/mod_proxy.so
  108. #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  109. #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  110. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
  111. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  112. #LoadModule proxy_http_module modules/mod_proxy_http.so
  113. #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
  114. #LoadModule reqtimeout_module modules/mod_reqtimeout.so
  115. #LoadModule rewrite_module modules/mod_rewrite.so
  116. LoadModule setenvif_module modules/mod_setenvif.so
  117. #LoadModule speling_module modules/mod_speling.so
  118. #LoadModule ssl_module modules/mod_ssl.so
  119. #LoadModule status_module modules/mod_status.so
  120. #LoadModule substitute_module modules/mod_substitute.so
  121. #LoadModule unique_id_module modules/mod_unique_id.so
  122. #LoadModule userdir_module modules/mod_userdir.so
  123. #LoadModule usertrack_module modules/mod_usertrack.so
  124. #LoadModule version_module modules/mod_version.so
  125. #LoadModule vhost_alias_module modules/mod_vhost_alias.so

  126. LoadModule php5_module C:/php5/php5apache2_2.dll

  127. <IfModule !mpm_netware_module>
  128. <IfModule !mpm_winnt_module>
  129. #
  130. # If you wish httpd to run as a different user or group, you must run
  131. # httpd as root initially and it will switch.  
  132. #
  133. # User/Group: The name (or #number) of the user/group to run httpd as.
  134. # It is usually good practice to create a dedicated user and group for
  135. # running httpd, as with most system services.
  136. #
  137. User daemon
  138. Group daemon

  139. </IfModule>
  140. </IfModule>

  141. # 'Main' server configuration
  142. #
  143. # The directives in this section set up the values used by the 'main'
  144. # server, which responds to any requests that aren't handled by a
  145. # <VirtualHost> definition.  These values also provide defaults for
  146. # any <VirtualHost> containers you may define later in the file.
  147. #
  148. # All of these directives may appear inside <VirtualHost> containers,
  149. # in which case these default settings will be overridden for the
  150. # virtual host being defined.
  151. #

  152. #
  153. # ServerAdmin: Your address, where problems with the server should be
  154. # e-mailed.  This address appears on some server-generated pages, such
  155. # as error documents.  e.g. [url=mailto:admin@your-domain.com]admin@your-domain.com[/url]
  156. #
  157. ServerAdmin [url=mailto:mdowen@foxmail.com]mdowen@foxmail.com[/url]

  158. #
  159. # ServerName gives the name and port that the server uses to identify itself.
  160. # This can often be determined automatically, but we recommend you specify
  161. # it explicitly to prevent problems during startup.
  162. #
  163. # If your host doesn't have a registered DNS name, enter its IP address here.
  164. #
  165. ServerName localhost:80

  166. #
  167. # DocumentRoot: The directory out of which you will serve your
  168. # documents. By default, all requests are taken from this directory, but
  169. # symbolic links and aliases may be used to point to other locations.
  170. #
  171. DocumentRoot "D:/htdocs"

  172. #
  173. # Each directory to which Apache has access can be configured with respect
  174. # to which services and features are allowed and/or disabled in that
  175. # directory (and its subdirectories).
  176. #
  177. # First, we configure the "default" to be a very restrictive set of
  178. # features.  
  179. #
  180. <Directory />
  181.     Options FollowSymLinks
  182.     AllowOverride None
  183.     Order deny,allow
  184.     Deny from all
  185. </Directory>

  186. #
  187. # Note that from this point forward you must specifically allow
  188. # particular features to be enabled - so if something's not working as
  189. # you might expect, make sure that you have specifically enabled it
  190. # below.
  191. #

  192. #
  193. # This should be changed to whatever you set DocumentRoot to.
  194. #
  195. <Directory "D:/htdocs">
  196.     #
  197.     # Possible values for the Options directive are "None", "All",
  198.     # or any combination of:
  199.     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  200.     #
  201.     # Note that "MultiViews" must be named *explicitly* --- "Options All"
  202.     # doesn't give it to you.
  203.     #
  204.     # The Options directive is both complicated and important.  Please see
  205.     # [url=http://httpd.apache.org/docs/2.2/mod/core.html#options]http://httpd.apache.org/docs/2.2/mod/core.html#options[/url]
  206.     # for more information.
  207.     #
  208.     Options Indexes FollowSymLinks

  209.     #
  210.     # AllowOverride controls what directives may be placed in .htaccess files.
  211.     # It can be "All", "None", or any combination of the keywords:
  212.     #   Options FileInfo AuthConfig Limit
  213.     #
  214.     AllowOverride None

  215.     #
  216.     # Controls who can get stuff from this server.
  217.     #
  218.     Order allow,deny
  219.     Allow from all

  220. </Directory>

  221. #
  222. # DirectoryIndex: sets the file that Apache will serve if a directory
  223. # is requested.
  224. #
  225. <IfModule dir_module>
  226.     DirectoryIndex index.html index.htm index.php index.phtml
  227. </IfModule>

  228. #
  229. # The following lines prevent .htaccess and .htpasswd files from being
  230. # viewed by Web clients.
  231. #
  232. <FilesMatch "^\.ht">
  233.     Order allow,deny
  234.     Deny from all
  235.     Satisfy All
  236. </FilesMatch>

  237. #
  238. # ErrorLog: The location of the error log file.
  239. # If you do not specify an ErrorLog directive within a <VirtualHost>
  240. # container, error messages relating to that virtual host will be
  241. # logged here.  If you *do* define an error logfile for a <VirtualHost>
  242. # container, that host's errors will be logged there and not here.
  243. #
  244. ErrorLog "logs/error.log"

  245. #
  246. # LogLevel: Control the number of messages logged to the error_log.
  247. # Possible values include: debug, info, notice, warn, error, crit,
  248. # alert, emerg.
  249. #
  250. LogLevel warn

  251. <IfModule log_config_module>
  252.     #
  253.     # The following directives define some format nicknames for use with
  254.     # a CustomLog directive (see below).
  255.     #
  256.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  257.     LogFormat "%h %l %u %t \"%r\" %>s %b" common

  258.     <IfModule logio_module>
  259.       # You need to enable mod_logio.c to use %I and %O
  260.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  261.     </IfModule>

  262.     #
  263.     # The location and format of the access logfile (Common Logfile Format).
  264.     # If you do not define any access logfiles within a <VirtualHost>
  265.     # container, they will be logged here.  Contrariwise, if you *do*
  266.     # define per-<VirtualHost> access logfiles, transactions will be
  267.     # logged therein and *not* in this file.
  268.     #
  269.     CustomLog "logs/access.log" common

  270.     #
  271.     # If you prefer a logfile with access, agent, and referer information
  272.     # (Combined Logfile Format) you can use the following directive.
  273.     #
  274.     #CustomLog "logs/access.log" combined
  275. </IfModule>

  276. <IfModule alias_module>
  277.     #
  278.     # Redirect: Allows you to tell clients about documents that used to
  279.     # exist in your server's namespace, but do not anymore. The client
  280.     # will make a new request for the document at its new location.
  281.     # Example:
  282.     # Redirect permanent /foo [url=http://tianzuke.com/bar]http://tianzuke.com/bar[/url]

  283.     #
  284.     # Alias: Maps web paths into filesystem paths and is used to
  285.     # access content that does not live under the DocumentRoot.
  286.     # Example:
  287.     # Alias /webpath /full/filesystem/path
  288.     #
  289.     # If you include a trailing / on /webpath then the server will
  290.     # require it to be present in the URL.  You will also likely
  291.     # need to provide a <Directory> section to allow access to
  292.     # the filesystem path.

  293.     #
  294.     # ScriptAlias: This controls which directories contain server scripts.
  295.     # ScriptAliases are essentially the same as Aliases, except that
  296.     # documents in the target directory are treated as applications and
  297.     # run by the server when requested rather than as documents sent to the
  298.     # client.  The same rules about trailing "/" apply to ScriptAlias
  299.     # directives as to Alias.
  300.     #
  301.     ScriptAlias /cgi-bin/ "C:/Apache2.2/cgi-bin/"

  302. </IfModule>

  303. <IfModule cgid_module>
  304.     #
  305.     # ScriptSock: On threaded servers, designate the path to the UNIX
  306.     # socket used to communicate with the CGI daemon of mod_cgid.
  307.     #
  308.     #Scriptsock logs/cgisock
  309. </IfModule>

  310. #
  311. # "C:/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
  312. # CGI directory exists, if you have that configured.
  313. #
  314. <Directory "C:/Apache2.2/cgi-bin">
  315.     AllowOverride None
  316.     Options None
  317.     Order allow,deny
  318.     Allow from all
  319. </Directory>

  320. #
  321. # DefaultType: the default MIME type the server will use for a document
  322. # if it cannot otherwise determine one, such as from filename extensions.
  323. # If your server contains mostly text or HTML documents, "text/plain" is
  324. # a good value.  If most of your content is binary, such as applications
  325. # or images, you may want to use "application/octet-stream" instead to
  326. # keep browsers from trying to display binary files as though they are
  327. # text.
  328. #
  329. DefaultType text/plain

  330. <IfModule mime_module>
  331.     #
  332.     # TypesConfig points to the file containing the list of mappings from
  333.     # filename extension to MIME-type.
  334.     #
  335.     TypesConfig conf/mime.types

  336.     #
  337.     # AddType allows you to add to or override the MIME configuration
  338.     # file specified in TypesConfig for specific file types.
  339.     #
  340.     #AddType application/x-gzip .tgz
  341.     #
  342.     # AddEncoding allows you to have certain browsers uncompress
  343.     # information on the fly. Note: Not all browsers support this.
  344.     #
  345.     #AddEncoding x-compress .Z
  346.     #AddEncoding x-gzip .gz .tgz
  347.     #
  348.     # If the AddEncoding directives above are commented-out, then you
  349.     # probably should define those extensions to indicate media types:
  350.     #
  351.     AddType application/x-compress .Z
  352.     AddType application/x-gzip .gz .tgz

  353.     AddType application/x-httpd-php .php
  354.     AddType application/x-httpd-php .php3
  355.     AddType application/x-httpd-php .php4
  356.     AddType application/x-httpd-php .phpx      
  357.     AddType application/x-httpd-php-source .phps

  358.     #
  359.     # AddHandler allows you to map certain file extensions to "handlers":
  360.     # actions unrelated to filetype. These can be either built into the server
  361.     # or added with the Action directive (see below)
  362.     #
  363.     # To use CGI scripts outside of ScriptAliased directories:
  364.     # (You will also need to add "ExecCGI" to the "Options" directive.)
  365.     #
  366.     #AddHandler cgi-script .cgi

  367.     # For type maps (negotiated resources):
  368.     #AddHandler type-map var

  369.     #
  370.     # Filters allow you to process content before it is sent to the client.
  371.     #
  372.     # To parse .shtml files for server-side includes (SSI):
  373.     # (You will also need to add "Includes" to the "Options" directive.)
  374.     #
  375.     #AddType text/html .shtml
  376.     #AddOutputFilter INCLUDES .shtml
  377. </IfModule>

  378. #
  379. # The mod_mime_magic module allows the server to use various hints from the
  380. # contents of the file itself to determine its type.  The MIMEMagicFile
  381. # directive tells the module where the hint definitions are located.
  382. #
  383. #MIMEMagicFile conf/magic

  384. #
  385. # Customizable error responses come in three flavors:
  386. # 1) plain text 2) local redirects 3) external redirects
  387. #
  388. # Some examples:
  389. #ErrorDocument 500 "The server made a boo boo."
  390. #ErrorDocument 404 /missing.html
  391. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  392. #ErrorDocument 402 [url=http://tianzuke.com/subscription_info.html]http://tianzuke.com/subscription_info.html[/url]
  393. #

  394. #
  395. # MaxRanges: Maximum number of Ranges in a request before
  396. # returning the entire resource, or one of the special
  397. # values 'default', 'none' or 'unlimited'.
  398. # Default setting is to accept 200 Ranges.
  399. #MaxRanges unlimited

  400. #
  401. # EnableMMAP and EnableSendfile: On systems that support it,
  402. # memory-mapping or the sendfile syscall is used to deliver
  403. # files.  This usually improves server performance, but must
  404. # be turned off when serving from networked-mounted
  405. # filesystems or if support for these functions is otherwise
  406. # broken on your system.
  407. #
  408. #EnableMMAP off
  409. #EnableSendfile off

  410. # Supplemental configuration
  411. #
  412. # The configuration files in the conf/extra/ directory can be
  413. # included to add extra features or to modify the default configuration of
  414. # the server, or you may simply copy their contents here and change as
  415. # necessary.

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

  418. # Multi-language error messages
  419. #Include conf/extra/httpd-multilang-errordoc.conf

  420. # Fancy directory listings
  421. #Include conf/extra/httpd-autoindex.conf

  422. # Language settings
  423. #Include conf/extra/httpd-languages.conf

  424. # User home directories
  425. #Include conf/extra/httpd-userdir.conf

  426. # Real-time info on requests and configuration
  427. #Include conf/extra/httpd-info.conf

  428. # Virtual hosts
  429. Include conf/extra/httpd-vhosts.conf

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

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

  434. # Various default settings
  435. #Include conf/extra/httpd-default.conf

  436. # Secure (SSL/TLS) connections
  437. #Include conf/extra/httpd-ssl.conf
  438. #
  439. # Note: The following must must be present to support
  440. #       starting without SSL on platforms with no /dev/random equivalent
  441. #       but a statically compiled-in mod_ssl.
  442. #
  443. <IfModule ssl_module>
  444. SSLRandomSeed startup builtin
  445. SSLRandomSeed connect builtin
  446. </IfModule>

  447. #<VirtualHost *:80>
  448. #    DocumentRoot D:\htdocs\huatongmu.com
  449. #    ServerName huatongmu.com
  450. #    ServerAlias [url=www.huatongmu.com]www.huatongmu.com[/url]
  451. #    ErrorLog logs/huatongmu-error_log
  452. #    CustomLog logs/huatongmu common
  453. #</VirtualHost>[/mw_shl_code]
复制代码

论坛徽章:
0
2 [报告]
发表于 2012-06-21 09:12 |只看该作者
本帖最后由 mdowen 于 2012-06-21 09:12 编辑

下面是httpd-vhosts.conf的配置文件
  1. [mw_shl_code=css,true]#
  2. # Virtual Hosts
  3. #
  4. # If you want to maintain multiple domains/hostnames on your
  5. # machine you can setup VirtualHost containers for them. Most configurations
  6. # use only name-based virtual hosts so the server doesn't need to worry about
  7. # IP addresses. This is indicated by the asterisks in the directives below.
  8. #
  9. # Please see the documentation at
  10. # <URL:[url]http://httpd.apache.org/docs/2.2/vhosts/[/url]>
  11. # for further details before you try to setup virtual hosts.
  12. #
  13. # You may use the command line option '-S' to verify your virtual host
  14. # configuration.

  15. #
  16. # Use name-based virtual hosting.
  17. #
  18. NameVirtualHost *

  19. #
  20. # VirtualHost example:
  21. # Almost any Apache directive may go into a VirtualHost container.
  22. # The first VirtualHost section is used for all requests that do not
  23. # match a ServerName or ServerAlias in any <VirtualHost> block.
  24. #
  25. #<VirtualHost *:80>
  26. #    ServerAdmin [email]webmaster@dummy-host.tianzuke.com[/email]
  27. #    DocumentRoot "C:/Apache2.2/docs/dummy-host.tianzuke.com"
  28. #    ServerName dummy-host.tianzuke.com
  29. #    ServerAlias [url]www.dummy-host.tianzuke.com[/url]
  30. #    ErrorLog "logs/dummy-host.tianzuke.com-error.log"
  31. #    CustomLog "logs/dummy-host.tianzuke.com-access.log" common
  32. #</VirtualHost>

  33. #<VirtualHost *:80>
  34. #    ServerAdmin [email]webmaster@dummy-host2.tianzuke.com[/email]
  35. #    DocumentRoot "C:/Apache2.2/docs/dummy-host2.tianzuke.com"
  36. #    ServerName dummy-host2.tianzuke.com
  37. #    ErrorLog "logs/dummy-host2.tianzuke.com-error.log"
  38. #    CustomLog "logs/dummy-host2.tianzuke.com-access.log" common
  39. #</VirtualHost>

  40. <VirtualHost *>
  41.     ServerAdmin [email]webmaster@dummy-host2.tianzuke.com[/email]
  42.     ServerName huatongmu.com
  43.     DocumentRoot "D:\htdocs\huatongmu.com"
  44.     ErrorLog "logs/huatongmu-error.log"
  45.     CustomLog "logs/huatongmu-access.log" common
  46. </VirtualHost>


  47. [/mw_shl_code]
复制代码

论坛徽章:
0
3 [报告]
发表于 2012-06-21 10:00 |只看该作者
查看apache的日志。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP