年前就在自己机器上安装了WordPress 2.0,今天又update到WP 2.0.1,随便提供喜欢WP的朋友测试,但是经常关机,造成不便,还请见谅。
usename password
TestA testa
TestB testb
* 软件版本。
wordpress-2.0.1
apache_2.0.55-win32-x86-no_ssl
mysql-4.0.25-win32
php-5.0.4-Win32
phpMyAdmin-2.7.0-pl2
* apache中对PHP的支持。
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
* apache中对于permalink的相关设定。
LoadModule rewrite_module modules/mod_rewrite.so
Alias /wp "C:/foolbear/content/WordPress/"
<Directory "C:/foolbear/content/WordPress">
AllowOverride None
Options All
Order Allow,Deny
Allow from All
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php
</IfModule>
</Directory>
* apache中对域名、虚拟主机的设定
ServerName foolbear.be:80
NameVirtualHost 222.66.79.100:80
<VirtualHost *:80>
ServerAdmin this@foolbear.be
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
ServerName foolbear.be
</VirtualHost>
<VirtualHost 222.66.79.100:80>
ServerAdmin this@foolbear.be
DocumentRoot "C:/foolbear/content/WordPress"
ServerName wp.foolbear.be
</VirtualHost>
没有评论 :
发表评论