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