3
我在WampServer安装了多地点,当我在“添加网站”点击页面变成空白页。
迄今所做的:
- 下载WampServer。
- 配置的虚拟主机。
- 下载丙烯酸,所以我可以有通配符域。
- 建立数据库并安装正常WP
- 跟着http://codex.wordpress.org/Create_A_Network更新到MultiSite。
- 登录
- 点击我的网站 - >网络管理员。
- 点击网站 - >添加新。
- 输入所需信息。
- 点击“添加站点”等待40-50秒。
- 页面变空白。
如果我退格上单击或返回<-
在浏览器,然后单击“添加网站”再次它的作品,我能够亲临现场,像一个正常的安装创造职位。
任何想法都会很棒。
这里有一些技术细节:
我的httpd-vhosts.con样子说:
<VirtualHost *:80>
ServerName smallurl.com
ServerAlias www.smallurl.com *.smallurl.com
DocumentRoot C:/wamp/www2
ErrorLog "C:/wamp/www2/logs/error.log"
CustomLog "C:/wamp/www2/logs/access.log" common
# - A few helpful settings...
<Directory "C:/wamp/www2">
order allow,deny
allow from all
# - Enables .htaccess files for this site
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
ErrorLog "C:/wamp/www/logs/error.log"
CustomLog "C:/wamp/www/logs/access.log" common
</VirtualHost>
我AcrylicHost.txt:
127.0.0.1 localhost
127.0.0.1 www.smallurl.com
127.0.0.1 smallurl.com
127.0.0.1 *.smallurl.com
在的httpd .conf:
# Virtual hosts #yaniv#
Include conf/extra/httpd-vhosts.conf
rewrite_module
被激活。
基本上涵盖了一切。
任何帮助将不胜感激。
使用子文件夹或子域名? – 2013-05-10 09:49:07
可以肯定的是,你在'httpd.conf'中有'NameVirtualHost *:80'吗? – LeonardChallis 2013-05-10 11:23:01
@LeonardChallis实际上'NameVirtualHost'进入\ extras \ vhost-httpd.conf'文件,并且只有当您仍在使用Apache 2.2时,如果您使用的是Apache 2.4,则它不再有效 – RiggsFolly 2015-03-08 17:31:01