1
我一直在使用Bitnami安裝WordPress的實例。更改默認文件夾的Apache
目前127.0.0.1
需要我在C:\Bitnami\wordpress-4.4.2-1\apache2\htdocs
文件我想127.0.0.1
採取用戶C:/Bitnami/wordpress-4.4.2-1/apps/wordpress/htdocs
變化我做: Edit the httpd.conf file
DocumentRoot "C:/Bitnami/wordpress-4.4.2-1/apps/wordpress/htdocs"
<Directory "C:/Bitnami/wordpress-4.4.2-1/apps/wordpress/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Require all granted
allow from all
</Directory>
Restarted apache server
仍然會127.0.0.1
顯示index.php
頁面C:\Bitnami\wordpress-4.4.2-1\apache2\htdocs
我在想什麼?
爲什麼你有反斜槓?在Windows下,它們不應該是「C:\ Bitnami \ wordpress-4.4.2-1 \ apps \ wordpress \ htdocs」 – Jeff