时间:2021-07-01 10:21:17 帮助过:52人阅读
ServerRoot "D:/wamp/bin/apache/apache2.2.22"PHPIniDir "D:\wamp\bin\php\php5.4.3"Listen 8889LoadModule actions_module modules/mod_actions.soLoadModule alias_module modules/mod_alias.soLoadModule asis_module modules/mod_asis.soLoadModule auth_basic_module modules/mod_auth_basic.soLoadModule authn_default_module modules/mod_authn_default.soLoadModule authn_file_module modules/mod_authn_file.soLoadModule authz_default_module modules/mod_authz_default.soLoadModule authz_groupfile_module modules/mod_authz_groupfile.soLoadModule authz_host_module modules/mod_authz_host.soLoadModule authz_user_module modules/mod_authz_user.soLoadModule autoindex_module modules/mod_autoindex.soLoadModule cgi_module modules/mod_cgi.soLoadModule dir_module modules/mod_dir.soLoadModule env_module modules/mod_env.soLoadModule include_module modules/mod_include.soLoadModule isapi_module modules/mod_isapi.soLoadModule log_config_module modules/mod_log_config.soLoadModule mime_module modules/mod_mime.soLoadModule negotiation_module modules/mod_negotiation.soLoadModule rewrite_module modules/mod_rewrite.soLoadModule setenvif_module modules/mod_setenvif.soLoadModule php5_module "D:/wamp/bin/php/php5.4.3/php5apache2_2.dll"ServerAdmin admin@localhostServerName localhostDocumentRoot "D:/wamp/www/wordpress/" User daemonGroup daemon Options FollowSymLinks AllowOverride All Order Deny,Allow Allow from all Options Indexes FollowSymLinks AllowOverride All Order Deny,Allow Deny from all Allow from all DirectoryIndex index.php index.php3 index.html index.htm Order allow,deny Deny from all Satisfy All ErrorLog "D:/wamp/logs/apache_error.log"LogLevel warnLogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio CustomLog "D:/wamp/logs/access.log" commonScriptAlias /cgi-bin/ "cgi-bin/" AllowOverride All Options FollowSymLinks Order deny,allow Allow from all DefaultType text/plainTypesConfig conf/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 Include conf/extra/httpd-autoindex.confInclude conf/extra/httpd-vhosts.confSSLRandomSeed startup builtinSSLRandomSeed connect builtin Include "D:/wamp/alias/*"
端口为8889
那么所有的url都必须带有端口号,请先确认一下
端口为8889
那么所有的url都必须带有端口号,请先确认一下
带的...
晕,原来是wordpress设置里的站点名称填的是localhost。搞定了,多谢