我把自己的网站空间源码下载到本地 用APMServ 5.2.6 搭建了本地服务器环境 浏览器中输入这个IP测试:http://127.0.0.1/ 他就自动跳转到web上去了 跳转后的地址是:http://www.xxx.com/ 这是网站是在web打开的哦 是什么原因啊
但是我输入 http://127.0.0.1/ BBS/ 测试论坛却能在本地正常打开
我的网站是PHP的 请教一下大家我们才能:在本地环境中打开我的网站
但是我输入 http://127.0.0.1/ BBS/ 测试论坛却能在本地正常打开
我的网站是PHP的 请教一下大家我们才能:在本地环境中打开我的网站
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/if ( !isset($wp_did_header) ) { $wp_did_header = true; require_once( dirname(__FILE__) . '/wp-load.php' ); wp(); require_once( ABSPATH . WPINC . '/template-loader.php' );}?>
贴APMServ安装目录下默认的index.*